Commit 04b33d36 authored by Sean McGivern's avatar Sean McGivern

Merge branch '29823-fix-transient-failure' into 'master'

Use match_array instead of eq when order is irrelevant

Closes #29709

See merge request !10148
parents 747bf698 e9bc346d
...@@ -138,7 +138,7 @@ describe Issuable::BulkUpdateService, services: true do ...@@ -138,7 +138,7 @@ describe Issuable::BulkUpdateService, services: true do
let(:labels) { [bug, regression] } let(:labels) { [bug, regression] }
it 'updates the labels of all issues passed to the labels passed' do it 'updates the labels of all issues passed to the labels passed' do
expect(issues.map(&:reload).map(&:label_ids)).to all(eq(labels.map(&:id))) expect(issues.map(&:reload).map(&:label_ids)).to all(match_array(labels.map(&:id)))
end end
it 'does not update issues not passed in' do it 'does not update issues not passed in' do
......
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