diff options
author | Toon Claes <toon@iotcl.com> | 2017-07-07 10:20:46 +0300 |
---|---|---|
committer | Toon Claes <toon@iotcl.com> | 2017-07-07 10:30:14 +0300 |
commit | acbad6d8372a820487376e7011004796b28a763f (patch) | |
tree | 6bc54814a95e3099ded494130dd9f210410b904d /spec | |
parent | 8a47c720e3ed117403c55389bd8d6a5411dba842 (diff) |
Remove /reassign quick action
/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')
-rw-r--r-- | spec/services/quick_actions/interpret_service_spec.rb | 16 |
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 } |