Sha256: e165589dbcbc12881521324dcae39b7172120cc037c62ea039fb7068ef46f53f
Contents?: true
Size: 349 Bytes
Versions: 7
Compression:
Stored size: 349 Bytes
Contents
# frozen_string_literal: true require 'helper' class TestFakerGenderCN < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::GenderCN, :random) def setup @tester = FFaker::GenderCN end def test_random gender_regex = /\A[男女]\z/ assert_match(gender_regex, @tester.random) end end
Version data entries
7 entries across 7 versions & 1 rubygems