From 239af4ea1bb7d8042b83294dbaf8d41450acaf21 Mon Sep 17 00:00:00 2001 From: Tom Wilson Date: Fri, 12 Mar 2021 14:51:20 -0500 Subject: [PATCH] Fix for incorrect deprecation class It looks like `Spree::Deprecator` reference added in 2.11.5 should have been `Spree::Deprecation` instead. This should fix https://github.com/solidusio/solidus/issues/3990 --- core/lib/spree/testing_support.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/spree/testing_support.rb b/core/lib/spree/testing_support.rb index cff1e49238f..ee4f6c96528 100644 --- a/core/lib/spree/testing_support.rb +++ b/core/lib/spree/testing_support.rb @@ -25,7 +25,7 @@ def load_all_factories factory_bot_paths: "Spree::TestingSupport::FactoryBot.definition_file_paths", check_factory_bot_version: "Spree::TestingSupport::FactoryBot.check_version", load_all_factories: "Spree::TestingSupport::FactoryBot.add_paths_and_load!", - deprecator: Spree::Deprecator + deprecator: Spree::Deprecation ) end end