X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/420a7289a0b08eee091f6650c2e83166df3fbe69..58e95f7ea46accda6359b187ce5936aad4ac5945:/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