Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 1748 Bytes
1 | Feature: Managing snippets |
2 | In order to share content between layouts and pages, as a designer I want to |
3 | manage a collection of snippets |
4 | |
5 | Background: |
6 | Given I am logged in as "designer" |
7 | |
8 | Scenario: List snippets |
9 | When I follow "Design" within "#navigation" |
10 | And I follow "Snippets" |
11 | Then I should see "first" |
12 | And I should see "another" |
13 | And I should see "markdown" |
14 | # And a host of others |
15 | |
16 | Scenario: Create a snippet |
17 | When I follow "Design" within "#navigation" |
18 | And I follow "Snippets" |
19 | And I follow "New Snippet" |
20 | And I fill in "Name" with "Mine" |
21 | And I fill in "Body" with "My snippet" |
22 | And I press "Create Snippet" |
23 | Then I should be on the snippets list |
24 | And I should see "Mine" |
25 | |
26 | Scenario: Display form errors |
27 | When I follow "Design" within "#navigation" |
28 | And I follow "Snippets" |
29 | And I follow "New Snippet" |
30 | And I fill in "Body" with "My snippet" |
31 | And I press "Create Snippet" |
32 | Then I should see an error message |
33 | And I should see the form |
34 | |
35 | Scenario: Continue editing |
36 | When I follow "Design" within "#navigation" |
37 | And I follow "Snippets" |
38 | And I follow "New Snippet" |
39 | And I fill in "Name" with "Mine" |
40 | And I fill in "Body" with "My snippet" |
41 | And I press "Save and Continue Editing" |
42 | Then I should see "Edit Snippet" |
43 | And I should see the form |
44 | |
45 | Scenario: View a snippet |
46 | When I view a snippet |
47 | Then I should see "Edit Snippet" |
48 | |
49 | Scenario: Delete a snippet with confirmation |
50 | When I follow "Design" within "#navigation" |
51 | And I follow "Snippets" |
52 | And I follow "Remove" |
53 | Then I should see "permanently remove" |
54 | And I should see "another" |
55 | When I press "Delete Snippet" |
56 | Then I should not see "another" |