log in to the stream

This commit is contained in:
danielgrippi 2011-10-23 18:21:07 -07:00
parent ff10f563ce
commit 44c9fcf65f
2 changed files with 3 additions and 3 deletions

View file

@ -121,7 +121,7 @@ class ApplicationController < ActionController::Base
end
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
def tag_followings

View file

@ -6,7 +6,7 @@ Feature: user authentication
And I fill in "Username" with "ohai"
And I fill in "Password" with "secret"
And I press "Sign in"
Then I should be on the aspects page
Then I should be on the multi page
@javascript
Scenario: user logs out
@ -19,5 +19,5 @@ Feature: user authentication
Scenario: user uses token auth
Given a user with username "ohai" and password "secret"
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