Commit 277bccae authored by Rémy Coutable's avatar Rémy Coutable

Fix an array-order expectation in update_assignees_service_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 3fecc77e
......@@ -51,7 +51,7 @@ RSpec.describe MergeRequests::UpdateAssigneesService do
let(:opts) { { assignee_ids: [0, user2.id, 0, user3.id, 0] } }
it 'ignores 0 IDs' do
expect { update_merge_request }.to change(merge_request, :assignees).to([user2, user3])
expect { update_merge_request }.to change(merge_request, :assignees).to(match_array([user2, user3]))
end
end
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