From 17fe492bf47e92323e9fd5524af0da4b508b8fe5 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Mon, 26 Feb 2024 20:53:27 +1100 Subject: [PATCH] Fix typo --- spec/factories/variant_factory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.