X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/98de681e4711ad3bf5526e511002c8f0e91860a8..efd50cd529990069dc1ca95f66ec6f61471fe29d:/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