Better speccing

This commit is contained in:
2013-11-06 15:58:23 +01:00
parent 30ff19bdb4
commit 0928961423
5 changed files with 49 additions and 23 deletions
@@ -4,13 +4,15 @@ Feature: Sign up as user using facebook
Scenario: Happy flow
Given There is no user information stored in the local storage
When I visit the user obtain token path
Then I should be signed in as a user
Then I should be signed in as a user through facebook
And I wait 4 seconds
And I should be redirected to the user home
And the newly created user info should be stored in the local storage
@broken
@javascript
Scenario: Already signed in user visits obtain token path
Given I am signed in as a user
And There is no user information stored in the local storage
When I visit '/user'
And I wait 4 seconds
Then I should be redirected to the user home
And the newly created user info should be stored in the local storage