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