mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Fix typo
This commit is contained in:
@@ -14,7 +14,7 @@ FactoryBot.define do
|
||||
primary_taxon { Spree::Taxon.first || FactoryBot.create(:taxon) }
|
||||
supplier { Enterprise.is_primary_producer.first || FactoryBot.create(:supplier_enterprise) }
|
||||
|
||||
# createing a product here will end up creating an extra variant, as creating product will
|
||||
# creating a product here will end up creating an extra variant, as creating product will
|
||||
# create a "standard variant" by default. We could try to pass the variant instance we
|
||||
# are creating but it fails because then the variant instance gets saved and it fails because
|
||||
# the product isn't associated yet. It's a chicken and egg problem.
|
||||
|
||||
Reference in New Issue
Block a user