Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-06-05 22:10:13 +0300
committerRobert Speicher <rspeicher@gmail.com>2017-06-20 02:59:02 +0300
commit044f09d8078ede75fa25767187d766c83c551388 (patch)
tree4cfeeea456ee67cba3b7d64fc2f29ee14f4d6e77 /spec/support
parent018ed2c42fc946592e2b72d2e74710e509df0199 (diff)
Change `logout` uses to `gitlab_sign_out`
Change `logout_direct` uses to `gitlab_sign_out_direct`
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/features/issuable_slash_commands_shared_examples.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/features/issuable_slash_commands_shared_examples.rb b/spec/support/features/issuable_slash_commands_shared_examples.rb
index 023bdfc833f..50869099bb7 100644
--- a/spec/support/features/issuable_slash_commands_shared_examples.rb
+++ b/spec/support/features/issuable_slash_commands_shared_examples.rb
@@ -105,7 +105,7 @@ shared_examples 'issuable record that supports quick actions in its description
context "when current user cannot close #{issuable_type}" do
before do
- logout
+ gitlab_sign_out
gitlab_sign_in(guest)
visit public_send("namespace_project_#{issuable_type}_path", project.namespace, project, issuable)
end
@@ -140,7 +140,7 @@ shared_examples 'issuable record that supports quick actions in its description
context "when current user cannot reopen #{issuable_type}" do
before do
- logout
+ gitlab_sign_out
gitlab_sign_in(guest)
visit public_send("namespace_project_#{issuable_type}_path", project.namespace, project, issuable)
end
@@ -170,7 +170,7 @@ shared_examples 'issuable record that supports quick actions in its description
context "when current user cannot change title of #{issuable_type}" do
before do
- logout
+ gitlab_sign_out
gitlab_sign_in(guest)
visit public_send("namespace_project_#{issuable_type}_path", project.namespace, project, issuable)
end