Sha256: 283e99f41cce4ad0abc5910deca6f1521131dde4d3c6040f321e4f835a0eb9aa

Contents?: true

Size: 495 Bytes

Versions: 6

Compression:

Stored size: 495 Bytes

Contents

# frozen_string_literal: true

require 'helper'

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

  assert_methods_are_deterministic(
    FFaker::SportPL,
    :name,
    :summer,
    :winter
  )

  def setup
    @tester = FFaker::SportPL
  end

  def test_name
    assert_include(@tester::ALL, @tester.name)
  end

  def test_summer
    assert_include(@tester::SUMMER, @tester.summer)
  end

  def test_winter
    assert_include(@tester::WINTER, @tester.winter)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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