Files
mozo-backend/spec/acceptance/users/sign_up_with_facebook.feature
T
2013-11-04 10:01:01 +01:00

17 lines
646 B
Gherkin

Feature: Sign up as user using facebook
@javascript
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
And I should be redirected to the user home
And the newly created user info should be stored in the local storage
@broken
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
Then I should be redirected to the user home
And the newly created user info should be stored in the local storage