mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Fix enterprise shopfront serializer spec
This commit is contained in:
@@ -12,10 +12,10 @@ RSpec.describe Api::EnterpriseShopfrontSerializer do
|
||||
let!(:taxon1) { create(:taxon, name: 'Meat') }
|
||||
let!(:taxon2) { create(:taxon, name: 'Veg') }
|
||||
let!(:product) {
|
||||
create(:product, supplier: producer, primary_taxon: taxon1 )
|
||||
create(:product, supplier_id: producer.id, primary_taxon: taxon1 )
|
||||
}
|
||||
let!(:product2) {
|
||||
create(:product, supplier: producer_hidden, primary_taxon: taxon2 )
|
||||
create(:product, supplier_id: producer_hidden.id, primary_taxon: taxon2 )
|
||||
}
|
||||
|
||||
let(:close_time) { 2.days.from_now }
|
||||
|
||||
Reference in New Issue
Block a user