diff options
| author | mo khan <mo@mokhan.ca> | 2009-05-26 14:14:41 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2009-05-26 14:14:41 -0600 |
| commit | 315afa528731bb30d2dbfe2cb1aac29b852bcf4b (patch) | |
| tree | 2c129b5b0e24d812be20a40fe61e6651618ccaa3 | |
| parent | 64c4fc81c1fbc4de88bc481af4a138b987ae0809 (diff) | |
starting the first step
| -rw-r--r-- | features/codebreaker_starts_game.feature | 9 | ||||
| -rw-r--r-- | features/step_definitions/.mastermind.rb.swp | bin | 0 -> 12288 bytes | |||
| -rw-r--r-- | features/step_definitions/mastermind.rb | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/features/codebreaker_starts_game.feature b/features/codebreaker_starts_game.feature new file mode 100644 index 0000000..9957346 --- /dev/null +++ b/features/codebreaker_starts_game.feature @@ -0,0 +1,9 @@ +Feature: code-breaker starts game + As a code-breaker + I want to start a game + So that I can break the code + Scenario: start game + Given I am not yet playing + When I start a new game + Then the game should say "Welcome to Mastermind!" + And the game should say "Enter guess:" diff --git a/features/step_definitions/.mastermind.rb.swp b/features/step_definitions/.mastermind.rb.swp Binary files differnew file mode 100644 index 0000000..fcf7c1e --- /dev/null +++ b/features/step_definitions/.mastermind.rb.swp diff --git a/features/step_definitions/mastermind.rb b/features/step_definitions/mastermind.rb new file mode 100644 index 0000000..c6b7c3b --- /dev/null +++ b/features/step_definitions/mastermind.rb @@ -0,0 +1,4 @@ +# mastermind.rb + +Given /^I am not yet playing$/ do +end |
