diff --git a/spec/factories/variant_factory.rb b/spec/factories/variant_factory.rb index dc729a29e6..245a6b78ac 100644 --- a/spec/factories/variant_factory.rb +++ b/spec/factories/variant_factory.rb @@ -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.