1 require File.dirname(__FILE__) + '/spec_helper'
19 raise "player must be a string" unless player.is_a?(String)
20 @players.include? player
24 describe "A new team" do
30 it "should have 3 players (failing example)" do
31 @team.should have(3).players
34 it "should include some player (failing example)" do
35 @team.players.should include("Some Player")
38 it "should include 5 (failing example)" do
39 @team.players.should include(5)
42 it "should have no players"