Sha256: 9d707ed8524e32d7257ec7b0a47f64dc0abb652c129eb4a3459783950eedc8a3
Contents?: true
Size: 449 Bytes
Versions: 6
Compression:
Stored size: 449 Bytes
Contents
# encoding: utf-8 require 'helper' class TestFakerGenderKR < Test::Unit::TestCase def setup @tester = Faker::GenderKR end def test_random gender_regex = /\A[남녀]\z/ assert_match gender_regex, @tester.random end def test_sample gender_regex = /\A[남녀]\z/ assert_match gender_regex, @tester.sample end def test_maybe gender_regex = /\A[남녀]\z/ assert_match gender_regex, @tester.maybe end end
Version data entries
6 entries across 6 versions & 2 rubygems