]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story
added RSpec and RSpec on Rails
[rails.git] / vendor / gems / rspec-1.1.2 / examples / stories / game-of-life / behaviour / stories / CellsWithMoreThanThreeNeighboursDie.story
diff --git a/vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story b/vendor/gems/rspec-1.1.2/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story
new file mode 100644 (file)
index 0000000..0d30b59
--- /dev/null
@@ -0,0 +1,21 @@
+Story: cells with more than three neighbours die\r
+\r
+As a game producer\r
+I want cells with more than three neighbours to die\r
+So that I can show the people with money how we are getting on\r
+\r
+Scenario: blink\r
+\r
+Given the grid looks like\r
+.....\r
+...XX\r
+...XX\r
+.XX..\r
+.XX..\r
+When the next step occurs\r
+Then the grid should look like\r
+.....\r
+...XX\r
+....X\r
+.X...\r
+.XX..\r