test/test_i18n_debug.rb in i18n-debug-1.1.1 vs test/test_i18n_debug.rb in i18n-debug-1.2.0
- old
+ new
@@ -17,9 +17,13 @@
silence_io do
assert_equal I18n.t('foo.bar'), 'baz'
end
end
+ def test_does_not_alter_default_i18n_lookup_method_visibility
+ assert I18n.backend.class.protected_method_defined?(:lookup)
+ end
+
def test_logger_invoked
assert_output(/en\.foo\.bar => "baz"/) do
I18n.t('foo.bar')
end
end