Commit 44c9fcf6 authored by danielgrippi's avatar danielgrippi

log in to the stream

parent ff10f563
......@@ -121,7 +121,7 @@ class ApplicationController < ActionController::Base
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)
def tag_followings
......@@ -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
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment