diff --git a/core/spec/models/spree/promotion_handler/coupon_spec.rb b/core/spec/models/spree/promotion_handler/coupon_spec.rb index 9624e484f48..4cdef736fd5 100644 --- a/core/spec/models/spree/promotion_handler/coupon_spec.rb +++ b/core/spec/models/spree/promotion_handler/coupon_spec.rb @@ -169,7 +169,7 @@ def expect_adjustment_creation(adjustable:, promotion:, promotion_code: nil) end context "applied alongside another valid promotion " do - let!(:order) { Order.create } + let!(:order) { create(:order) } before do order.coupon_code = "10off"