diff options
author | Jason Hollingsworth <jhworth.developer@gmail.com> | 2013-12-03 08:22:33 -0600 |
---|---|---|
committer | Jason Hollingsworth <jhworth.developer@gmail.com> | 2013-12-04 13:10:20 -0600 |
commit | c099074fcc96304d948cc028ff7ae5913b561ed3 (patch) | |
tree | fcfb93fbd75f00c62b527d1829014bbf8b90c476 /features/steps/profile | |
parent | 23d180f5f1905eb8d714daaf2d097767ff355817 (diff) | |
download | gitlab-ce-c099074fcc96304d948cc028ff7ae5913b561ed3.tar.gz |
Fix 404 on project page for unauthenticated user
Eliminate a 404 error when user is not logged in and attempts to visit
a project page.
The 404 page will still show up when user is logged in and the project
doesn’t exist or the user doesn’t have access.
Diffstat (limited to 'features/steps/profile')
-rw-r--r-- | features/steps/profile/profile.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb index 3e4a105ec55..a72f8a44f96 100644 --- a/features/steps/profile/profile.rb +++ b/features/steps/profile/profile.rb @@ -88,10 +88,6 @@ class Profile < Spinach::FeatureSteps page.should have_content "Password doesn't match confirmation" end - step 'I should be redirected to sign in page' do - current_path.should == new_user_session_path - end - step 'I reset my token' do within '.update-token' do @old_token = @user.private_token |