log in to the stream
This commit is contained in:
parent
ff10f563ce
commit
44c9fcf65f
2 changed files with 3 additions and 3 deletions
|
|
@ -121,7 +121,7 @@ class ApplicationController < ActionController::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def after_sign_in_path_for(resource)
|
def after_sign_in_path_for(resource)
|
||||||
stored_location_for(:user) || (current_user.getting_started? ? getting_started_path : aspects_path)
|
stored_location_for(:user) || (current_user.getting_started? ? getting_started_path : multi_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
def tag_followings
|
def tag_followings
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ Feature: user authentication
|
||||||
And I fill in "Username" with "ohai"
|
And I fill in "Username" with "ohai"
|
||||||
And I fill in "Password" with "secret"
|
And I fill in "Password" with "secret"
|
||||||
And I press "Sign in"
|
And I press "Sign in"
|
||||||
Then I should be on the aspects page
|
Then I should be on the multi page
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
Scenario: user logs out
|
Scenario: user logs out
|
||||||
|
|
@ -19,5 +19,5 @@ Feature: user authentication
|
||||||
Scenario: user uses token auth
|
Scenario: user uses token auth
|
||||||
Given a user with username "ohai" and password "secret"
|
Given a user with username "ohai" and password "secret"
|
||||||
When I post a photo with a token
|
When I post a photo with a token
|
||||||
And I go to the aspects page
|
And I go to the multi page
|
||||||
Then I should be on the new user session page
|
Then I should be on the new user session page
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue