Commit f028aff4 authored by Etienne Baqué's avatar Etienne Baqué

Merge branch '327568-fix-flaky-worker-spec' into 'master'

Fix flaky MergeRequests::HandleAssigneesChangeWorker spec

See merge request gitlab-org/gitlab!59221
parents 646b8608 48daf871
......@@ -20,7 +20,7 @@ RSpec.describe MergeRequests::HandleAssigneesChangeWorker do
describe '#perform' do
it 'calls MergeRequests::HandleAssigneesChangeService#execute to handle the changes' do
expect_next(::MergeRequests::HandleAssigneesChangeService)
.to receive(:execute).with(merge_request, old_assignees, options)
.to receive(:execute).with(merge_request, match_array(old_assignees), options)
worker.perform(merge_request.id, user.id, user_ids, options)
end
......
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