X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/98de681e4711ad3bf5526e511002c8f0e91860a8..a39c645602f9d27b7927500c93890f4d7d79620e:/config/environments/test.rb diff --git a/config/environments/test.rb b/config/environments/test.rb index 482b1fb4c..38975deef 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -41,6 +41,12 @@ Rails.application.configure do # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr + # Export translations automatically + config.middleware.use I18n::JS::Middleware + # Raises error for missing translations config.action_view.raise_on_missing_translations = true + + # Use the test adapter for ActiveJob during testing + config.active_job.queue_adapter = :test end