Skip to content

Commit

Permalink
Fix for incorrect deprecation class
Browse files Browse the repository at this point in the history
It looks like `Spree::Deprecator` reference added in 2.11.5 should have been `Spree::Deprecation` instead. This should fix #3990
  • Loading branch information
tmtrademarked authored and kennyadsl committed Mar 16, 2021
1 parent 6603bb9 commit 239af4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/spree/testing_support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 239af4e

Please sign in to comment.