Sha256: 9f6a6551a6aef76f45c3c1ab463ab15b7386d6e01afc9f04f6699c517a9034f0

Contents?: true

Size: 312 Bytes

Versions: 9

Compression:

Stored size: 312 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

  assert_methods_are_deterministic(FFakerTW::Sport, :name)

  def setup
    @tester = FFakerTW::Sport
  end

  def test_name
    assert_include @tester::NAMES, @tester.name
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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