diff --git a/spec/services/order_syncer_spec.rb b/spec/services/order_syncer_spec.rb index 49622dfc68..87f5a8efd3 100644 --- a/spec/services/order_syncer_spec.rb +++ b/spec/services/order_syncer_spec.rb @@ -15,6 +15,7 @@ describe OrderSyncer do before do # Create shipping rates for available shipping methods. order.shipments.each(&:refresh_rates) + order.select_shipping_method(shipping_method) end it "updates the shipping_method on the order and on shipments" do