Update shipment cost spec

This commit is contained in:
Matt-Yorkley
2021-02-10 18:11:22 +00:00
parent f5d3e22730
commit 1aec324269

View File

@@ -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