adding all of botlist, initial add
[botlist.git] / openbotlist / tests / integration / ruby / rspec / example_spec.rb
blobb3756e066ffc622692c066e06a6bc6a81fd87469
1 # bowling_spec.rb
3 require File.join(File.dirname(__FILE__), 'bowling_exampl')
5 describe Bowling do
6   before(:each) do
7     @bowling = Bowling.new
8   end
10   it "should score 0 for gutter game" do
11     20.times { @bowling.hit(0) }
12     @bowling.score.should == 0
13   end
14 end