Commit 7d16efae authored by Rémy Coutable's avatar Rémy Coutable

Fix Spinach login issues

This was caused by
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10320Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 630742d0
......@@ -673,8 +673,8 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
project = Project.find_by(name: "Shop")
project.team << [user, :developer]
logout
login_with user
gitlab_sign_out
sign_in(user)
end
step '"Bug NS-05" has CI status' do
......
......@@ -31,7 +31,7 @@ module SharedAuthentication
end
step 'I sign in as "Pete Peters"' do
login_with(user_exists("Pete Peters"))
gitlab_sign_in(user_exists("Pete Peters"))
end
step 'I should be redirected to sign in page' do
......
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