Sha256: 4c450f4c371e02cbee2f5b6ed8cffd1dc1e643f2030f3fecbe707958147931d6

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

class TestFakerJob < Test::Unit::TestCase
  include DeterministicHelper

  assert_methods_are_deterministic(FFaker::Job, :title)

  def setup
    @tester = FFaker::Job
  end

  def test_title
    assert_match(/\A(\w+\.? ?){2,3}\z/, @tester.title)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.23.0 test/test_job.rb
ffaker-2.22.0 test/test_job.rb
ffaker-2.21.0 test/test_job.rb
ffaker-2.20.0 test/test_job.rb
ffaker-2.19.0 test/test_job.rb