To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorAdminister users
As an administrator
I want to manage the users
So that I can provide support for them
- Background
-
- Given
-
the following roles:
name Member - And
- a logged in admin
- Scenarios
-
- Create, update, delete a user in the admin
-
- When
- I am on the add user page
- And
-
I fill in the following:
Email [email protected] Name Big Boi Password Ch!coDusty$ Password confirmation Ch!coDusty$ - And
- I check "Member"
- And
- I press "Save"
- Then
- I should see "User created!"
- And
- I should see "Big Boi"
- When
- I follow "Big Boi"
- Then
- the "Name" field should contain "Big Boi"
- And
- the "Email" field should contain "[email protected]"
- And
- the "Member" checkbox should be checked
- And
- the "Admin" checkbox should not be checked
- Then
- I fill in "Name" with "Bigger Boi"
- And
- I fill in "Email" with "[email protected]"
- And
- I uncheck "Member"
- And
- I check "Admin"
- And
- I press "Save"
- Then
- I should see "Successfully updated Bigger Boi."
- When
- I follow "Bigger Boi"
- Then
- the "Name" field should contain "Bigger Boi"
- And
- the "Email" field should contain "[email protected]"
- And
- the "Member" checkbox should not be checked
- And
- the "Admin" checkbox should be checked
- Then
- I press "Save"
- Then
- I follow "Delete"
- Then
- I should see "User deleted."
- And
- I should not see "Bigger Boi"
Last published over 5 years ago by btelles.