diff --git a/config/environments/test.rb b/config/environments/test.rb index 482b1fb4c7..e4652b7ec3 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -41,6 +41,9 @@ # 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