mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Prospective fix for intermittent spec fail
This commit is contained in:
@@ -50,6 +50,7 @@ describe Spree::OrdersController do
|
||||
let(:line_item) { order.line_items.last }
|
||||
|
||||
before do
|
||||
Spree::Config.allow_backorders = false
|
||||
order.set_distribution! d, oc
|
||||
order.add_variant variant, 5
|
||||
variant.update_attributes! on_hand: 3
|
||||
|
||||
Reference in New Issue
Block a user