1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
# frozen_string_literal: true
require_relative '../../test_helper'
class TestFakerKpop < Test::Unit::TestCase
def setup
@tester = Faker::Kpop
end
def test_i_groups
assert_match(/\w+/, @tester.i_groups)
end
def test_ii_groups
assert_match(/\w+/, @tester.ii_groups)
end
def test_iii_groups
assert_match(/\w+/, @tester.iii_groups)
end
def test_girl_groups
assert_match(/\w+/, @tester.girl_groups)
end
def test_boy_bands
assert_match(/\w+/, @tester.boy_bands)
end
def test_solo
assert_match(/\w+/, @tester.solo)
end
end
|