mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
Fix consumer producer system spec
This commit is contained in:
@@ -19,10 +19,10 @@ RSpec.describe '
|
||||
let(:taxon_veg) { create(:taxon, name: 'Vegetables') }
|
||||
|
||||
let!(:product1) {
|
||||
create(:simple_product, supplier: producer1, primary_taxon: taxon_fruit)
|
||||
create(:simple_product, supplier_id: producer1.id, primary_taxon: taxon_fruit)
|
||||
}
|
||||
let!(:product2) {
|
||||
create(:simple_product, supplier: producer2, primary_taxon: taxon_veg)
|
||||
create(:simple_product, supplier_id: producer2.id, primary_taxon: taxon_veg)
|
||||
}
|
||||
|
||||
let(:shop) { create(:distributor_enterprise) }
|
||||
|
||||
Reference in New Issue
Block a user