ensure users are signed out properly in user_uses_slash_commands_spec.rb

See https://gitlab.com/gitlab-org/gitlab-ce/issues/45970
This commit is contained in:
Lukas Eipert 2018-05-03 14:31:32 +02:00
parent bba847fedb
commit 6c1a12edfc
No known key found for this signature in database
GPG key ID: 148BEA37CB35B2AC

View file

@ -161,6 +161,7 @@ feature 'Issues > User uses quick actions', :js do
before do
target_project.add_master(user)
gitlab_sign_out
sign_in(user)
visit project_issue_path(project, issue)
end
@ -220,6 +221,7 @@ feature 'Issues > User uses quick actions', :js do
before do
target_project.add_master(user)
gitlab_sign_out
sign_in(user)
visit project_issue_path(project, issue)
end