Sha256: ddf60b9bd27e2ae9bdea1d40486a52a18f1322ce93f7c0a3352a3d5b5999627f
Contents?: true
Size: 380 Bytes
Versions: 9
Compression:
Stored size: 380 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 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
9 entries across 9 versions & 1 rubygems