summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-07-07 16:46:20 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-07-07 16:46:20 -0400
commit60814985e033e4941ff3eb5d33ca55e3fc81593e (patch)
tree0bc1b99beb99c1f3cc1dd3c72fb0898be914abb0
parent75f3f6e1d6a826b28363fba518f7d3cf016c2df6 (diff)
downloadgitlab-ce-60814985e033e4941ff3eb5d33ca55e3fc81593e.tar.gz
Change `sign_out` usage to `gitlab_sign_out` in one spec
For reasons that are still unclear, the EE version (but only the EE version) of this spec was failing reliably, and changing these calls seemed to resolve it. So we're making the change here for parity.
-rw-r--r--spec/features/issues/user_uses_slash_commands_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issues/user_uses_slash_commands_spec.rb b/spec/features/issues/user_uses_slash_commands_spec.rb
index d984b3ce907..1cd1f016674 100644
--- a/spec/features/issues/user_uses_slash_commands_spec.rb
+++ b/spec/features/issues/user_uses_slash_commands_spec.rb
@@ -41,7 +41,7 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
let(:guest) { create(:user) }
before do
project.team << [guest, :guest]
- sign_out(:user)
+ gitlab_sign_out
sign_in(guest)
visit project_issue_path(project, issue)
end
@@ -81,7 +81,7 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
let(:guest) { create(:user) }
before do
project.team << [guest, :guest]
- sign_out(:user)
+ gitlab_sign_out
sign_in(guest)
visit project_issue_path(project, issue)
end