mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #7356 from andrewpbrett/fix-shipment-controller-spec
Fix failing shipments controller spec
This commit is contained in:
@@ -240,6 +240,7 @@ describe Api::V0::ShipmentsController, type: :controller do
|
||||
before do
|
||||
allow(Spree::Order).to receive(:find_by!) { fee_order }
|
||||
allow(controller).to receive(:find_and_update_shipment) { }
|
||||
allow(controller).to receive(:refuse_changing_cancelled_orders) { }
|
||||
allow(fee_order).to receive(:contents) { contents }
|
||||
allow(contents).to receive(:add) { }
|
||||
allow(fee_order).to receive(:recreate_all_fees!)
|
||||
|
||||
Reference in New Issue
Block a user