diff --git a/config/environments/test.rb b/config/environments/test.rb index 983be8e7..bffdd608 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -46,6 +46,9 @@ # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test + # Use test adapter for ActiveJob to avoid connection leaks from GoodJob + config.active_job.queue_adapter = :test + # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr