Sha256: 888ff1fa9acc0bf2f07369aa01ee6e8b62a7ec4307a604ba38984cb75932b145
Contents?: true
Size: 1.95 KB
Versions: 12
Compression:
Stored size: 1.95 KB
Contents
Feature: Managing users In order to allow others to edit content and design assets As an administrator I want to manage the set of users Background: Given I am logged in as "admin" And I go to "/admin/users" Scenario: Listing users Then I should see "Admin" And I should see "Developer" And I should see "Existing" # And a host of others Scenario: View a user When I view a user Then I should see "Edit User" Scenario: Create new user When I follow "New User" And I fill in "Name" with "New Guy" And I fill in "E-mail" with "newguy@example.com" And I fill in "Username" with "new_guy" And I fill in "Password" with "password" And I fill in "Confirm password" with "password" And I press "Create User" Then I should see "saved" And I should see "New Guy" Scenario: Display form errors on submit When I follow "New User" And I fill in "Name" with "New Guy" And I fill in "E-mail" with "newguy@example.com" And I press "Create User" Then I should see an error message And I should see the form Scenario: Edit existing user When I follow "Developer" Then I should see the form When I fill in "Name" with "Old Guy" And I fill in "Username" with "oldguy" And I uncheck "Developer" And I press "Save Changes" Then I should see "Old Guy" But I should not see "Developer" Scenario: Cannot remove self When I attempt to remove my own account Then I should see an error message And I should see "You cannot delete yourself" Scenario: Cannot forcefully delete self When I attempt to delete my own account Then I should see an error message And I should see "You cannot delete yourself" Scenario: Delete other users When I follow "Remove" Then I should see "permanently remove" And I should see "Another" When I press "Delete User" Then I should see "been deleted" And I should not see "Another"
Version data entries
12 entries across 12 versions & 2 rubygems