use active job test queue adapter in rspec

This commit is contained in:
Alex Turchyn
2023-08-26 01:20:43 +03:00
parent 601c984f3f
commit 52ba415429
3 changed files with 3 additions and 9 deletions
+1
View File
@@ -44,6 +44,7 @@ Rails.application.configure do
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
config.active_job.queue_adapter = :test
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr