X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ddd5b4cf19a92582fd114914be5bd5a04d3522a7..3f607d565bc0e2c7b1b738301c11c16d069913d5:/vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story diff --git a/vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story b/vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story new file mode 100644 index 000000000..8374e86c5 --- /dev/null +++ b/vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story @@ -0,0 +1,21 @@ +Story: cells with less than two neighbours die + +As a game producer +I want cells with less than two neighbours to die +So that I can illustrate how the game works to people with money + +Scenario: cells with zero or one neighbour die + +Given the grid looks like +........ +.XX.XX.. +.XX..... +....X... +........ +When the next step occurs +Then the grid should look like +........ +.XX..... +.XX..... +........ +........