Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/inviqa/training-bdd
Browse files Browse the repository at this point in the history
  • Loading branch information
Beam authored and Beam committed Dec 11, 2012
2 parents 990df8f + e676075 commit acdc210
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions features/grid/player_starts_a_game.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Feature: Player starts a game
As a player
In order to play
I need to start a game

Scenario: "Player X" wants to start a game
Given I am "Player X"
And I Want to start a game
Then I should get a new grid

Scenario: "Player 0" wants to start a game
Given I am "Player 0"
And I want to start a game
Then I should wait for "Player X" to start a game

Scenario: "New Player" wants to play a game
Given I am a "New Player"
And "Player X" is not assigned
Then assign player to "Player X"

Scenario: "New Player" wants to play a game and there is already one player
Given I am a "New Player"
And "Player X" is assigned
Then assign player to "Player 0"

0 comments on commit acdc210

Please sign in to comment.