Sha256: a7fc009dccda2b024bd9d61c8d382c8350a9d05e08d4b02cca614788d9b1a674

Contents?: true

Size: 329 Bytes

Versions: 7

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

require '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

7 entries across 7 versions & 1 rubygems

Version Path
ffaker-2.18.0 test/test_animal_cn.rb
ffaker-2.17.0 test/test_animal_cn.rb
ffaker-2.16.0 test/test_animal_cn.rb
ffaker-2.15.0 test/test_animal_cn.rb
ffaker-2.14.0 test/test_animal_cn.rb
ffaker-2.13.0 test/test_animal_cn.rb
ffaker-2.12.0 test/test_animal_cn.rb