summaryrefslogtreecommitdiff
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-20 09:06:31 +0200
committerAzul <azul@leap.se>2014-05-26 12:58:31 +0200
commit02426b7f143e82447ff41a604c286b556ab8d3a5 (patch)
tree3545e661e04ce76cb2f96d8900043a45182dbd07 /test/test_helper.rb
parent1d0d61389011a8d0d169bc139590d90a6fbbac60 (diff)
use i18n.missing_translations
This will print missing translation keys at the end of the tests
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index d001ac7..7959ddb 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -27,4 +27,6 @@ class ActiveSupport::TestCase
File.join(Rails.root, 'test', 'files', name)
end
+ require 'i18n/missing_translations'
+ at_exit { I18n.missing_translations.dump }
end