Sha256: 597265b9833ef812f66d7a58375b25f4c3f38a975e72a6e74306dd0680991822

Contents?: true

Size: 336 Bytes

Versions: 9

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFakerTW::Animal, :common_name)

  def setup
    @tester = FFakerTW::Animal
  end

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

Version data entries

9 entries across 9 versions & 1 rubygems

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