diff --git a/api/spec/spec_helper.rb b/api/spec/spec_helper.rb index 78fd73a6b74..1c1b01aaa73 100644 --- a/api/spec/spec_helper.rb +++ b/api/spec/spec_helper.rb @@ -61,6 +61,7 @@ Rails.cache.clear end + config.include ActiveSupport::Testing::Assertions config.include ActiveJob::TestHelper config.use_transactional_fixtures = true diff --git a/backend/spec/spec_helper.rb b/backend/spec/spec_helper.rb index 456c8f2be7a..1db63f75371 100644 --- a/backend/spec/spec_helper.rb +++ b/backend/spec/spec_helper.rb @@ -106,6 +106,7 @@ end config.include FactoryBot::Syntax::Methods + config.include ActiveSupport::Testing::Assertions config.include ActiveJob::TestHelper config.include Spree::TestingSupport::Preferences diff --git a/core/spec/rails_helper.rb b/core/spec/rails_helper.rb index 8a2e1408472..4898f9641ec 100644 --- a/core/spec/rails_helper.rb +++ b/core/spec/rails_helper.rb @@ -41,6 +41,7 @@ Rails.cache.clear end + config.include ActiveSupport::Testing::Assertions config.include ActiveJob::TestHelper config.include FactoryBot::Syntax::Methods end