mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-03 22:06:07 +00:00
Update checkout spec adjustment fetching
This commit is contained in:
@@ -386,7 +386,7 @@ feature "As a consumer I want to check out my cart", js: true do
|
||||
|
||||
# There are two orders - our order and our new cart
|
||||
o = Spree::Order.complete.first
|
||||
expect(o.adjustments.shipping.first.amount).to eq(4.56)
|
||||
expect(o.shipment_adjustments.first.amount).to eq(4.56)
|
||||
expect(o.payments.first.amount).to eq(10 + 1.23 + 4.56) # items + fees + shipping
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user