mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Avoid flaky spec by matching the array
Context: https://github.com/openfoodfoundation/openfoodnetwork/actions/runs/5081492387/jobs/9129944001?pr=10896
This commit is contained in:
@@ -76,7 +76,7 @@ describe Admin::BulkLineItemsController, type: :controller do
|
||||
end
|
||||
|
||||
it "retrives a list of line items which match the criteria" do
|
||||
expect(line_item_ids).to eq [line_item2.id, line_item3.id]
|
||||
expect(line_item_ids).to match_array [line_item2.id, line_item3.id]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user