]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/ICanKillACell.story
a9cf1ac64ffbc6d24b8dfa9a4e836fa43454e38a
[rails.git] / vendor / gems / rspec-1.1.2 / examples / stories / game-of-life / behaviour / stories / ICanKillACell.story
1 Story: I can kill a cell\r
2 \r
3 As a game producer\r
4 I want to kill a cell\r
5 So that when I make a mistake I dont have to start again\r
6 \r
7 Scenario: bang youre dead\r
8 \r
9 Given the grid looks like\r
10 XX.\r
11 .X.\r
12 ..X\r
13 When I destroy the cell at 0, 1\r
14 Then the grid should look like\r
15 X..\r
16 .X.\r
17 ..X\r