Skip to content

Commit

Permalink
add perfect game
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhendriks committed Dec 28, 2012
1 parent c5a2f37 commit 3cd3caa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bowlinggame/spec/bowlinggame_spec.rb
Expand Up @@ -40,6 +40,11 @@
@game.score.should == 28
end

it "should score 300 for a perfect game" do
roll_many 12, 10
@game.score.should == 300
end

end

def roll_spare
Expand Down

0 comments on commit 3cd3caa

Please sign in to comment.