Green specs 😄

This commit is contained in:
2014-10-02 13:10:25 +02:00
parent faaa06f0dc
commit 7c03b4c32c
13 changed files with 46 additions and 25 deletions
@@ -28,13 +28,14 @@ Feature: Sign up as user using facebook
And I wait 4 seconds
Then the newly created user info should be stored in the local storage
@javascipt
@javascript
Scenario: Authenciation when there is a list already active
Given there is a confirmed and open supplier
And there is a user
And there is a facebook user
And the user has an active order
When the user authenticates with facebook
Then the user should be redirected to the active list page
When I visit the user obtain token path
And I wait 1 second
Then the user should be redirected to the user order overview page
Scenario: Facebook problem OmniAuth.config.mock_auth[:facebook] = :invalid_credentials
Scenario: Valid facebook login, but declines information requested by scope