Sha256: 7072228ff258852f3b352a487be57daac9aea894c6bf7059aa355ee424aeb628

Contents?: true

Size: 504 Bytes

Versions: 5

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

require_relative 'helper'

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

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

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

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.23.0 test/test_sport_ru.rb
ffaker-2.22.0 test/test_sport_ru.rb
ffaker-2.21.0 test/test_sport_ru.rb
ffaker-2.20.0 test/test_sport_ru.rb
ffaker-2.19.0 test/test_sport_ru.rb