Sha256: 3ad1041df9480a154537202ad92ab0959b11184fced9474dde84e91c6e12b280
Contents?: true
Size: 371 Bytes
Versions: 5
Compression:
Stored size: 371 Bytes
Contents
# frozen_string_literal: true require_relative '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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ffaker-2.23.0 | test/test_gender_id.rb |
ffaker-2.22.0 | test/test_gender_id.rb |
ffaker-2.21.0 | test/test_gender_id.rb |
ffaker-2.20.0 | test/test_gender_id.rb |
ffaker-2.19.0 | test/test_gender_id.rb |