Sha256: 976a5bd7be38460c097090dcde1cd098166ce0438d6ce6475a5d125385683e9e
Contents?: true
Size: 516 Bytes
Versions: 7
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true 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
7 entries across 7 versions & 1 rubygems