From e39962b019dcdf675875e7cf7d62d375345b7c03 Mon Sep 17 00:00:00 2001 From: Mehdi Lahmam Date: Thu, 6 Sep 2018 22:33:38 +0200 Subject: 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 60814985e033e4941ff3eb5d33ca55e3fc81593e --- spec/support/features/issuable_quick_actions_shared_examples.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/support/features/issuable_quick_actions_shared_examples.rb b/spec/support/features/issuable_quick_actions_shared_examples.rb index fa2b3db3bdf..846e697eb96 100644 --- a/spec/support/features/issuable_quick_actions_shared_examples.rb +++ b/spec/support/features/issuable_quick_actions_shared_examples.rb @@ -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 -- cgit v1.2.1