]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story
0d30b59be427e996da34e3258b7f0273cf8c02f7
[rails.git] / vendor / gems / rspec-1.1.2 / examples / stories / game-of-life / behaviour / stories / CellsWithMoreThanThreeNeighboursDie.story
1 Story: cells with more than three neighbours die\r
2 \r
3 As a game producer\r
4 I want cells with more than three neighbours to die\r
5 So that I can show the people with money how we are getting on\r
6 \r
7 Scenario: blink\r
8 \r
9 Given the grid looks like\r
10 .....\r
11 ...XX\r
12 ...XX\r
13 .XX..\r
14 .XX..\r
15 When the next step occurs\r
16 Then the grid should look like\r
17 .....\r
18 ...XX\r
19 ....X\r
20 .X...\r
21 .XX..\r