summaryrefslogtreecommitdiff
path: root/features/steps/profile
diff options
context:
space:
mode:
authorJason Hollingsworth <jhworth.developer@gmail.com>2013-12-03 08:22:33 -0600
committerJason Hollingsworth <jhworth.developer@gmail.com>2013-12-04 13:10:20 -0600
commitc099074fcc96304d948cc028ff7ae5913b561ed3 (patch)
treefcfb93fbd75f00c62b527d1829014bbf8b90c476 /features/steps/profile
parent23d180f5f1905eb8d714daaf2d097767ff355817 (diff)
downloadgitlab-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.rb4
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