Created
September 18, 2013 16:18
-
-
Save torstello/6611610 to your computer and use it in GitHub Desktop.
test: foobar
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 /^the secret code is "([^"]*)"$/ do |secret| | |
game = Codebreaker::Game.new(output) | |
game.start(secret) | |
end | |
When /^I start a new game$/ do | |
game = Codebreaker::Game.new(output) | |
game.start | |
end | |
Then /^I should see "([^"]*)"$/ do |message| | |
output.messages.should include(message) | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment