Fix product touch spec

This commit is contained in:
Matt-Yorkley
2023-09-05 16:00:01 +01:00
committed by Gaetan Craig-Riou
parent d959ee2358
commit 8a364a5f48

View File

@@ -319,7 +319,7 @@ module Spree
let(:product) { create(:simple_product) }
describe "touching affected enterprises when the product is deleted" do
let(:product) { create(:simple_product) }
let(:product) { create(:simple_product, supplier: distributor) }
let(:supplier) { product.supplier }
let(:distributor) { create(:distributor_enterprise) }
let!(:oc) {