Commit 9139c233 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch...

Merge branch '327144-flaky-test-in-spec-workers-merge_requests-assignees_change_worker_spec-rb' into 'master'

Resolve "Flaky test in spec/workers/merge_requests/assignees_change_worker_spec.rb"

See merge request gitlab-org/gitlab!58801
parents 80b6ba1b 75a0e1a9
......@@ -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