Skip to content

Commit

Permalink
Harden order inventory spec
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed Mar 29, 2023
1 parent 1d5dbf9 commit 96ca33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/spec/models/spree/order_inventory_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
expect(shipment.shipped?).to be false
expect(shipment.inventory_units_for(variant)).to be_empty
expect(variant.stock_location_ids.include?(shipment.stock_location_id)).to be true
expect(shipment.stock_location).not_to eql stock_item.stock_location
expect(shipment.stock_location_id).not_to eql stock_item.stock_location_id
end
end
end
Expand Down

0 comments on commit 96ca33f

Please sign in to comment.