From 06cae29bce5884ffc03c727921e361746fe0e9bb Mon Sep 17 00:00:00 2001 From: Alberto Vena Date: Wed, 3 May 2023 17:34:18 +0200 Subject: [PATCH] Remove deprecated spree/testing_support file Ref https://github.com/solidusio/solidus/pull/5059 --- core/lib/spree/testing_support.rb | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 core/lib/spree/testing_support.rb diff --git a/core/lib/spree/testing_support.rb b/core/lib/spree/testing_support.rb deleted file mode 100644 index 1965ef74f3f..00000000000 --- a/core/lib/spree/testing_support.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -require 'spree/testing_support/factory_bot' -require 'spree/deprecation' - -Spree::Deprecation.warn <<-WARN - Using `require 'spree/testing_support'` is deprecated and will be removed in - Solidus 4.0. -WARN - -module Spree - module TestingSupport - autoload :FactoryBot, "spree/testing_support/factory_bot" - autoload :SEQUENCES, "spree/testing_support/factory_bot" - autoload :FACTORIES, "spree/testing_support/factory_bot" - - def check_factory_bot_version - Spree::TestingSupport::FactoryBot.check_version - end - deprecate :check_factory_bot_version, deprecator: Spree::Deprecation - end -end