Sha256: 4d27da39d9b44e389632b2943de2169f38d464d531010a135e22945b76571452
Contents?: true
Size: 362 Bytes
Versions: 7
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true require 'helper' class TestFakerGenderID < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::GenderID, :random) def setup @tester = FFaker::GenderID end def test_random gender_regex = /\A(laki-laki|perempuan)\z/ assert_match(gender_regex, @tester.random) end end
Version data entries
7 entries across 7 versions & 1 rubygems