summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2019-07-24 15:18:48 -0500
committerRobert Speicher <rspeicher@gmail.com>2019-07-24 15:28:14 -0500
commit6587d1270305e087e2b0d981a88dc7c0a0cc0621 (patch)
treec6815dffa500b35f0bf5a12fb2152e632846049d /spec/services
parentfeb07ce08e755786ec869f31eef57c67d70eecb7 (diff)
downloadgitlab-ce-6587d1270305e087e2b0d981a88dc7c0a0cc0621.tar.gz
CE-EE parity for interpret_service_spec
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/quick_actions/interpret_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/quick_actions/interpret_service_spec.rb b/spec/services/quick_actions/interpret_service_spec.rb
index 95a131e8c86..71c4c3ad0d7 100644
--- a/spec/services/quick_actions/interpret_service_spec.rb
+++ b/spec/services/quick_actions/interpret_service_spec.rb
@@ -574,7 +574,7 @@ describe QuickActions::InterpretService do
context 'Issue' do
it 'populates assignee_ids: [] if content contains /unassign' do
- issue.update(assignee_ids: [developer.id])
+ issue.update!(assignee_ids: [developer.id])
_, updates = service.execute(content, issue)
expect(updates).to eq(assignee_ids: [])
@@ -583,7 +583,7 @@ describe QuickActions::InterpretService do
context 'Merge Request' do
it 'populates assignee_ids: [] if content contains /unassign' do
- merge_request.update(assignee_ids: [developer.id])
+ merge_request.update!(assignee_ids: [developer.id])
_, updates = service.execute(content, merge_request)
expect(updates).to eq(assignee_ids: [])