diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-18 11:51:15 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-18 11:51:15 +0000 |
commit | 4cadf22e208e3be401824f43ab13d5e6f2ff6465 (patch) | |
tree | e841a801f123787b9b85c78fa525712de724778f | |
parent | bff004d44b7af2cb5be608d7a74d2429f23782e1 (diff) | |
parent | c2766552dca8d4353478719b9d4161ba2130d028 (diff) | |
download | gitlab-ce-4cadf22e208e3be401824f43ab13d5e6f2ff6465.tar.gz |
Merge branch 'update-user_uses_slash_commands_spec' into 'master'
Minor update to address Sean McGivern's comment.
See merge request gitlab-org/gitlab-ce!14311
-rw-r--r-- | spec/features/issues/user_uses_slash_commands_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/issues/user_uses_slash_commands_spec.rb b/spec/features/issues/user_uses_slash_commands_spec.rb index 9261acda9dc..7437c469a72 100644 --- a/spec/features/issues/user_uses_slash_commands_spec.rb +++ b/spec/features/issues/user_uses_slash_commands_spec.rb @@ -159,7 +159,7 @@ feature 'Issues > User uses quick actions', js: true do describe 'move the issue to another project' do let(:issue) { create(:issue, project: project) } - context 'when the project is valid', js: true do + context 'when the project is valid' do let(:target_project) { create(:project, :public) } before do @@ -180,7 +180,7 @@ feature 'Issues > User uses quick actions', js: true do end end - context 'when the project is valid but the user not authorized', js: true do + context 'when the project is valid but the user not authorized' do let(:project_unauthorized) {create(:project, :public)} before do @@ -196,7 +196,7 @@ feature 'Issues > User uses quick actions', js: true do end end - context 'when the project is invalid', js: true do + context 'when the project is invalid' do before do sign_in(user) visit project_issue_path(project, issue) @@ -210,7 +210,7 @@ feature 'Issues > User uses quick actions', js: true do end end - context 'when the user issues multiple commands', js: true do + context 'when the user issues multiple commands' do let(:target_project) { create(:project, :public) } let(:milestone) { create(:milestone, title: '1.0', project: project) } let(:target_milestone) { create(:milestone, title: '1.0', project: target_project) } |