Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Story: Inviting Friends over to Lingosmile
- As a Member of LingoSmile
- I want to be able to invite people
- So that they can use LingoSmile too!
- Scenario: Invite a friend to LingoSmile
- Given the member cupdavid@gmail.com
- And have remaining invites left
- And logs in to the site
- When I send an invite to nikolab@gmail.com
- Then a BetaKey should be created for nikolab@gmail.com
- And an email should be sent to nikolab@gmail.com
- Scenario: Friend accepts invitation to Lingosmile
- Given the member cupdavid@gmail.com
- And logs in to the site
- And sends an invite to nikolab@gmail.com
- When nikolab@gmail.com accepts the invitation
- Then cupdavid@gmail.com's remaining invites should decrease by 1
- And cupdavid@gmail.com's friends should include nikolab@gmail.com
- And nikolab@gmail.com's friends should include cupdavid@gmail.com
Add Comment
Please, Sign In to add comment