Sha256: a53637e8f8327c6bbc02860939725182b4bb41c0d9b67c7280c59daff5ee1510

Contents?: true

Size: 319 Bytes

Versions: 9

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFakerTW::Job, :title)

  def setup
    @tester = FFakerTW::Job
  end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffakerTW-1.8.0 test/test_job.rb
ffakerTW-1.7.0 test/test_job.rb
ffakerTW-1.6.0 test/test_job.rb
ffakerTW-1.5.0 test/test_job.rb
ffakerTW-1.4.0 test/test_job.rb
ffakerTW-1.3.0 test/test_job.rb
ffakerTW-1.2.0 test/test_job.rb
ffakerTW-1.1.0 test/test_job.rb
ffakerTW-0.1.0 test/test_job.rb