Sha256: 55e27556fb74342fc87b3be4a501cc0a1a0c4e0ec541980b40cb278834336f92

Contents?: true

Size: 440 Bytes

Versions: 6

Compression:

Stored size: 440 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb')

class TestFakerTeam < Test::Unit::TestCase

  def setup
    @tester = Faker::Team
  end

  def test_name
    assert @tester.name.match(/(\w+\.? ?){2}/)
  end

  def test_creature
    assert @tester.creature.match(/(\w+){1}/)
  end

  def test_state
    assert @tester.state.match(/(\w+){1}/)
  end

  def test_sport
    assert @tester.sport.match(/(\w+){1}/)
  end

end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
faker-1.6.3 test/test_faker_team.rb
faker-1.6.2 test/test_faker_team.rb
faker-1.6.1 test/test_faker_team.rb
faker-1.6.0 test/test_faker_team.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/faker-1.5.0/test/test_faker_team.rb
faker-1.5.0 test/test_faker_team.rb