提交 e39962b0 编写于 作者: M Mehdi Lahmam

Prefer `sign_in` over `gitlab_sign_in` as its faster

Devise helpers acts on Warden which is faster than our own helpers.
Note that `gitlab_sign_out` is still necessary due to the same issue
mentioned at 60814985
上级 9feb145c
......@@ -309,7 +309,7 @@ shared_examples 'issuable record that supports quick actions in its description
project.add_guest(guest)
gitlab_sign_out
gitlab_sign_in(guest)
sign_in(guest)
visit public_send("project_#{issuable_type}_path", project, issuable)
end
......@@ -346,7 +346,7 @@ shared_examples 'issuable record that supports quick actions in its description
project.add_guest(guest)
gitlab_sign_out
gitlab_sign_in(guest)
sign_in(guest)
visit public_send("project_#{issuable_type}_path", project, issuable)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册