| 1 | # frozen_string_literal: true |
| 2 | |
| 3 | require_relative '../../test_helper' |
| 4 | |
| 5 | class TestFakerTvShowsHowIMetYourMother < Test::Unit::TestCase |
| 6 | def setup |
| 7 | @tester = Faker::TvShows::HowIMetYourMother |
| 8 | end |
| 9 | |
| 10 | def test_character |
| 11 | assert_match(/\w+/, @tester.character) |
| 12 | end |
| 13 | |
| 14 | def test_catch_phrase |
| 15 | assert_match(/\w+/, @tester.catch_phrase) |
| 16 | end |
| 17 | |
| 18 | def test_high_five |
| 19 | assert_match(/\w+/, @tester.high_five) |
| 20 | end |
| 21 | |
| 22 | def test_quote |
| 23 | assert_match(/\w+/, @tester.quote) |
| 24 | end |
| 25 | end |