Sha256: fcc8f9fea6ce28a11725496d4c2cd37c5bee36ad3bc5fc7c64b74730d2bd2acc
Contents?: true
Size: 375 Bytes
Versions: 1
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestFakerGenderID < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFakerTW::GenderID, :random) def setup @tester = FFakerTW::GenderID end def test_random gender_regex = /\A(laki-laki|perempuan)\z/ assert_match(gender_regex, @tester.random) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | test/test_gender_id.rb |