Sha256: 8354336921809b4f2133e4966b09c2c80d0db6b839bde354f3cfe3f25a1c581c
Contents?: true
Size: 504 Bytes
Versions: 10
Compression:
Stored size: 504 Bytes
Contents
# encoding: UTF-8 require 'helper' class TestFakerJobFr < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFaker::JobFR, :title) def setup @tester = FFaker::JobFR end def test_title assert_match(/\A([a-zàâçéèêëîïôûùüÿñæœ]+\.? ?){2,}\z/, @tester.title) end def test_prefix assert_kind_of Array, @tester::JOB_PREFIXES assert_kind_of Array, @tester::JOB_ADJECTIVES assert_kind_of Array, @tester::JOB_NOUNS end end
Version data entries
10 entries across 10 versions & 1 rubygems