Sha256: 4031e36bf10ea4db61e8f259a67e67c4e386aa681df71fc1dbde3ff9ba0b356f
Contents?: true
Size: 559 Bytes
Versions: 7
Compression:
Stored size: 559 Bytes
Contents
# frozen_string_literal: true require 'helper' class TestFakerGenderKR < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::GenderKR, :random) def setup @tester = FFaker::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
7 entries across 7 versions & 1 rubygems