mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-07 22:46:06 +00:00
Fix product touch spec
This commit is contained in:
committed by
Gaetan Craig-Riou
parent
d959ee2358
commit
8a364a5f48
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user