Created
March 27, 2012 01:42
-
-
Save steveklabnik/2211574 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Given /^I have rolled the following game:$/ do |table| | |
| @game = Game.new | |
| table.hashes.each do |attributes| | |
| @game.add_frame Frame.new(attributes) | |
| end | |
| end | |
| Then /^I should score (\d+)$/ do |score| | |
| @score.should = score | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment