Commit 75a0e1a9 authored by Alex Kalderimis's avatar Alex Kalderimis

Fix flaky spec

parent 9ef20bb6
......@@ -51,7 +51,7 @@ RSpec.describe MergeRequests::AssigneesChangeWorker do
it 'gets MergeRequests::UpdateAssigneesService to handle the changes' do
expect_next(::MergeRequests::UpdateAssigneesService)
.to receive(:handle_assignee_changes).with(merge_request, old_assignees)
.to receive(:handle_assignee_changes).with(merge_request, match_array(old_assignees))
worker.perform(merge_request.id, user.id, user_ids)
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