Sha256: d537fc651adfe219c4d0241b3e0f875270905ff92a169e0164cc5c5cc42984ba

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerJobLocale < Test::Unit::TestCase
  def setup
    Faker::Config.locale = 'en-AU'
    @tester = Faker::Job
  end

  def teardown
    Faker::Config.locale = nil
  end

  def test_locale_without_jobs_defaults_to_en
    assert @tester.position.match(/(\w+\.? ?)/)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/test/faker/default/test_faker_job_locale.rb