diff --git a/core/lib/spree/core/engine.rb b/core/lib/spree/core/engine.rb index 71591d28bdc..05d66a52d95 100644 --- a/core/lib/spree/core/engine.rb +++ b/core/lib/spree/core/engine.rb @@ -69,13 +69,13 @@ class Engine < ::Rails::Engine end end - if defined?(FactoryBotRails) - initializer "spree.factory_bot.set_factory_paths", after: "factory_bot.set_factory_paths" do - require "spree/testing_support/factory_bot" - Spree::TestingSupport::FactoryBot.check_version - Spree::TestingSupport::FactoryBot.add_definitions! - end - end + # if defined?(FactoryBotRails) + # initializer "spree.factory_bot.set_factory_paths", after: "factory_bot.set_factory_paths" do + # require "spree/testing_support/factory_bot" + # Spree::TestingSupport::FactoryBot.check_version + # Spree::TestingSupport::FactoryBot.add_definitions! + # end + # end end end end