Sha256: 7ba63342cb73b8c4d92f76e7d22c87d56d66a9dd7cc287628dc4aa20c6ec7afd

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFaker::AnimalUS, :common_name)

  def setup
    @tester = FFaker::AnimalUS
  end

  def test_name
    assert_include @tester::COMMON_NAMES, @tester.common_name
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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