X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/98de681e4711ad3bf5526e511002c8f0e91860a8..d75a09f5bb6bfcfd8e6c07f8cb9d99438e6e6efe:/config/environments/test.rb diff --git a/config/environments/test.rb b/config/environments/test.rb index 482b1fb4c..e4652b7ec 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -41,6 +41,9 @@ 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 end