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

Version Path
ffaker-2.11.0 test/test_job_fr.rb
ffaker-2.10.0 test/test_job_fr.rb
ffaker-2.9.0 test/test_job_fr.rb
ffaker-2.8.1 test/test_job_fr.rb
ffaker-2.8.0 test/test_job_fr.rb
ffaker-2.7.0 test/test_job_fr.rb
ffaker-2.6.0 test/test_job_fr.rb
ffaker-2.5.0 test/test_job_fr.rb
ffaker-2.4.0 test/test_job_fr.rb
ffaker-2.3.0 test/test_job_fr.rb