Sha256: 584f172ac396d285b34790aadbc3ca675be543d7b96b136c629a9a25a87421e5

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

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

  def setup
    @tester = FFakerTW::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

1 entries across 1 versions & 1 rubygems

Version Path
ffakerTW-0.1.0 test/test_sport_pl.rb