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 collaboratorRight checks
In order to be safe
The user
wants to be sure rights work properly
- Scenarios
-
- Wrong rights
-
- Given
- an account "Nico" with email "[email protected]"
- And
- "Nico" receives care
- And
- an account "Mary" with email "[email protected]"
- And
- "Mary" receives care
- And
- "Mary" is logged in
- And
- I am on Mary's page
- And
- I follow "invite_link"
- When
-
I fill in the following within "#invite_person":
First name Nico E-mail [email protected] - And
- I press "Send" within "#invite_person"
- And
- I follow "Logout"
- Given
- "Nico" is logged in
- And
- I am on Nico's connections page
- When
- I follow "Yes"
- Then
- I should have a non-sharing relationship with "Mary"
- And
- I should see "Mary" within "#tabs"
- When
- I follow "Logout"
- Given
- "Mary" is logged in
- Then
- I should not see "Nico" within "#tabs"
- When
- I follow "Logout"
- Given
- no emails have been sent
- And
- "Nico" is logged in
- And
- I am on Nico's page
- When
- I fill in "personal_message[body]" with "Testing 1,2,3"
- And
- I press "Post"
- Then
- I should see "Testing 1,2,3" within "#messages"
- And
- "[email protected]" should have no emails
- And
- "[email protected]" should have no emails
Last published over 7 years ago by Dreetje.