mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update shipment cost spec
This commit is contained in:
@@ -251,7 +251,8 @@ module Spree
|
||||
describe "the shipping charge" do
|
||||
it "is the adjustment amount" do
|
||||
order.shipments = [shipment]
|
||||
expect(order.adjustments.first.amount).to eq(50)
|
||||
expect(order.shipment_adjustments.first.amount).to eq(50)
|
||||
expect(shipment.cost).to eq(50)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user