use active job test queue adapter in rspec

This commit is contained in:
Alex Turchyn committed 2023-08-26 01:20:43 +03:00
1 parent 601c984f3f
commit 52ba415429
3 files changed
+3 -9

No files matched your search

+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