Sha256: e2606dadb233eed97db014457abe7bd4b415d47ee9ef2f9fac169b77612d2f92

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFaker::AnimalCN, :common_name)

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