Skip to content

Commit

Permalink
Enable automatic translation export in the test environment
Browse files Browse the repository at this point in the history
Fixes #2016
  • Loading branch information
tomhughes committed Oct 11, 2018
1 parent 091818d commit 5e76ec8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/test.rb
Expand Up @@ -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

0 comments on commit 5e76ec8

Please sign in to comment.