Sha256: f9f708bdb69e56de2387d5a86e140580f523118342af0a6ed216e4b7b057bb58

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

require_relative '../../test_helper'

class TestFakerVolleyball < Test::Unit::TestCase
  def setup
    @tester = Faker::Sports::Volleyball
  end

  def test_team
    assert @tester.team.match(/\w+/)
  end

  def test_player
    assert @tester.player.match(/\w+/)
  end

  def test_coach
    assert @tester.coach.match(/\w+/)
  end

  def test_position
    assert @tester.position.match(/\w+/)
  end

  def test_formation
    assert @tester.formation.match(/\w+/)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/bundler/gems/faker-e1bd4a5a5777/test/faker/sports/test_faker_volleyball.rb