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:
- 1984 Bytes
1 | Feature: Managing users |
2 | In order to allow others to edit content and design assets |
3 | As an administrator I want to manage the set of users |
4 | |
5 | Background: |
6 | Given I am logged in as "admin" |
7 | And I go to the "users" admin page |
8 | Scenario: Listing users |
9 | Then I should see "Admin" |
10 | And I should see "Designer" |
11 | And I should see "Existing" |
12 | # And a host of others |
13 | |
14 | Scenario: View a user |
15 | When I view a user |
16 | Then I should see "Edit User" |
17 | |
18 | Scenario: Create new user |
19 | When I follow "New User" |
20 | And I fill in "Name" with "New Guy" |
21 | And I fill in "E-mail" with "newguy@example.com" |
22 | And I fill in "Username" with "new_guy" |
23 | And I fill in "New Password" with "password" |
24 | And I fill in "Confirm New Password" with "password" |
25 | And I press "Create User" |
26 | Then I should be on the users list |
27 | And I should see "New Guy" |
28 | |
29 | Scenario: Display form errors on submit |
30 | When I follow "New User" |
31 | And I fill in "Name" with "New Guy" |
32 | And I fill in "E-mail" with "newguy@example.com" |
33 | And I press "Create User" |
34 | Then I should see an error message |
35 | And I should see the form |
36 | |
37 | Scenario: Edit existing user |
38 | When I follow "Designer" |
39 | Then I should see the form |
40 | When I fill in "Name" with "Old Guy" |
41 | And I fill in "Username" with "oldguy" |
42 | And I uncheck "Designer" |
43 | And I press "Save Changes" |
44 | Then I should see "Old Guy" |
45 | But I should not see "Designer" |
46 | |
47 | Scenario: Cannot remove self |
48 | When I attempt to remove my own account |
49 | Then I should see an error message |
50 | And I should see "You cannot delete yourself" |
51 | |
52 | Scenario: Cannot forcefully delete self |
53 | When I attempt to delete my own account |
54 | Then I should see an error message |
55 | And I should see "You cannot delete yourself" |
56 | |
57 | Scenario: Delete other users |
58 | When I follow "Remove" |
59 | Then I should see "permanently remove" |
60 | And I should see "Another" |
61 | When I press "Delete User" |
62 | And I should not see "Another" |