Sha256: 1ee90f24eaa1d07c69b6369aa2bca7c09634b4873d89a7daac03a69448b9011a

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFaker::Animal, :common_name)

  def setup
    @tester = FFaker::Animal
  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.rb
ffaker-2.22.0 test/test_animal.rb
ffaker-2.21.0 test/test_animal.rb
ffaker-2.20.0 test/test_animal.rb
ffaker-2.19.0 test/test_animal.rb