changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1Story: I can create a cell
2
3As a game producer
4I want to create a cell
5So that I can show the grid to people
6
7Scenario: nothing to see here
8
9Given a 3 x 3 game
10Then the grid should look like
11...
12...
13...
14
15Scenario: all on its lonesome
16
17Given a 3 x 3 game
18When I create a cell at 1, 1
19Then the grid should look like
20...
21.X.
22...
23
24Scenario: the grid has three cells
25
26Given a 3 x 3 game
27When I create a cell at 0, 0
28and I create a cell at 0, 1
29and I create a cell at 2, 2
30Then the grid should look like
31XX.
32...
33..X
34
35Scenario: more cells more more
36
37Given the grid has three cells
38When I create a celll at 3, 1
39Then the grid should look like
40XX.
41..X
42..X