Commit 6587d127 authored by Robert Speicher's avatar Robert Speicher

CE-EE parity for interpret_service_spec

parent feb07ce0
...@@ -574,7 +574,7 @@ describe QuickActions::InterpretService do ...@@ -574,7 +574,7 @@ describe QuickActions::InterpretService do
context 'Issue' do context 'Issue' do
it 'populates assignee_ids: [] if content contains /unassign' 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) _, updates = service.execute(content, issue)
expect(updates).to eq(assignee_ids: []) expect(updates).to eq(assignee_ids: [])
...@@ -583,7 +583,7 @@ describe QuickActions::InterpretService do ...@@ -583,7 +583,7 @@ describe QuickActions::InterpretService do
context 'Merge Request' do context 'Merge Request' do
it 'populates assignee_ids: [] if content contains /unassign' 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) _, updates = service.execute(content, merge_request)
expect(updates).to eq(assignee_ids: []) expect(updates).to eq(assignee_ids: [])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment