Guest User

Untitled

a guest
Mar 13th, 2018
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. Story: Inviting Friends over to Lingosmile
  2.  
  3. As a Member of LingoSmile
  4. I want to be able to invite people
  5. So that they can use LingoSmile too!
  6.  
  7. Scenario: Invite a friend to LingoSmile
  8.  
  9. Given the member cupdavid@gmail.com
  10. And have remaining invites left
  11. And logs in to the site
  12.  
  13. When I send an invite to nikolab@gmail.com
  14.  
  15. Then a BetaKey should be created for nikolab@gmail.com
  16. And an email should be sent to nikolab@gmail.com
  17.  
  18. Scenario: Friend accepts invitation to Lingosmile
  19.  
  20. Given the member cupdavid@gmail.com
  21. And logs in to the site
  22. And sends an invite to nikolab@gmail.com
  23.  
  24. When nikolab@gmail.com accepts the invitation
  25.  
  26. Then cupdavid@gmail.com's remaining invites should decrease by 1
  27. And cupdavid@gmail.com's friends should include nikolab@gmail.com
  28. And nikolab@gmail.com's friends should include cupdavid@gmail.com
Add Comment
Please, Sign In to add comment