Sha256: 78cea9b0015c7963ae44b9e8c254446d18347a02e41b6079ae5df139fcb44689
Contents?: true
Size: 336 Bytes
Versions: 8
Compression:
Stored size: 336 Bytes
Contents
# encoding: utf-8 require 'helper' class TestFakerGender < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::Gender, :random) def setup @tester = FFaker::Gender end def test_random gender_regex = /\A(male|female)\z/ assert_match(gender_regex, @tester.random) end end
Version data entries
8 entries across 8 versions & 1 rubygems