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 collaboratorTell a friend about Caren
In order let people share Caren with friends
The user
wants to add others to Caren without inviting them to their page
- Scenarios
-
- Telling a friend
-
- Given
- I am on the tell-a-friend page
- When
- I fill in "person_email" with "[email protected]"
- And
- I press "next_button"
- Then
- I should see "Thank you for sharing Caren"
- Then
- "[email protected]" should receive an email
- When
- I open the email
- And
- I follow "activate" in the email
- Then
- I should see "Complete your registration"
- When
-
I fill in the following:
First name Andre Last name Foeken Password welcome123 - And
- I choose "Male"
- And
- I check "I receive care myself"
- And
- I press "Save"
- Then
- I should see the "Me" tab
- When
- I follow "Logout"
- And
- I fill in "email" with "[email protected]"
- And
- I fill in "password" with "welcome123"
- And
- I press "Login"
- Then
- I should see the "Me" tab
- Telling a friend who already has an account
-
- Given
- a person "Andre" with email "[email protected]"
- And
- "Andre" has an account
- And
- I am on the tell-a-friend page
- When
- I fill in "person_email" with "[email protected]"
- And
- I press "next_button"
- Then
- I should see "This email address is already a registered Caren user"
- And
- "[email protected]" should receive no emails
Last published over 7 years ago by Dreetje.