summaryrefslogtreecommitdiff
path: root/spec/services/quick_actions
diff options
context:
space:
mode:
authorToon Claes <toon@iotcl.com>2017-07-07 09:20:46 +0200
committerToon Claes <toon@iotcl.com>2017-07-07 09:30:14 +0200
commitacbad6d8372a820487376e7011004796b28a763f (patch)
tree6bc54814a95e3099ded494130dd9f210410b904d /spec/services/quick_actions
parent8a47c720e3ed117403c55389bd8d6a5411dba842 (diff)
downloadgitlab-ce-acbad6d8372a820487376e7011004796b28a763f.tar.gz
Remove /reassign quick actiontc-follow-up-mia
/reassign should only work when multiple assignees are available. And since this is only the case for GitLab EE, remove it from CE. This was picked using 517c97eb12e44f354787313dd35ac7a1642f5b20 of gitlab-ee.
Diffstat (limited to 'spec/services/quick_actions')
-rw-r--r--spec/services/quick_actions/interpret_service_spec.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/services/quick_actions/interpret_service_spec.rb b/spec/services/quick_actions/interpret_service_spec.rb
index 35373675894..a2db3f68ff7 100644
--- a/spec/services/quick_actions/interpret_service_spec.rb
+++ b/spec/services/quick_actions/interpret_service_spec.rb
@@ -431,22 +431,6 @@ describe QuickActions::InterpretService, services: true do
end
end
- context 'reassign command' do
- let(:content) { '/reassign' }
-
- context 'Issue' do
- it 'reassigns user if content contains /reassign @user' do
- user = create(:user)
-
- issue.update(assignee_ids: [developer.id])
-
- _, updates = service.execute("/reassign @#{user.username}", issue)
-
- expect(updates).to eq(assignee_ids: [user.id])
- end
- end
- end
-
it_behaves_like 'milestone command' do
let(:content) { "/milestone %#{milestone.title}" }
let(:issuable) { issue }