From 02426b7f143e82447ff41a604c286b556ab8d3a5 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 20 May 2014 09:06:31 +0200 Subject: use i18n.missing_translations This will print missing translation keys at the end of the tests --- test/test_helper.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test_helper.rb') 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 -- cgit v1.2.3