repo.or.cz
/
botlist.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
adding all of botlist, initial add
[botlist.git]
/
openbotlist
/
tests
/
integration
/
ruby
/
rspec
/
example_spec.rb
blob
b3756e066ffc622692c066e06a6bc6a81fd87469
1
# bowling_spec.rb
2
3
require File.join(File.dirname(__FILE__), 'bowling_exampl')
4
5
describe Bowling do
6
before(:each) do
7
@bowling = Bowling.new
8
end
9
10
it "should score 0 for gutter game" do
11
20.times { @bowling.hit(0) }
12
@bowling.score.should == 0
13
end
14
end