test/test.rb in i18n-backend-side_by_side-1.2.0 vs test/test.rb in i18n-backend-side_by_side-1.3.0
- old
+ new
@@ -30,6 +30,11 @@
assert_equal('some value', I18n.t('foo.only_en.some_key', locale: :en))
assert_equal({ some_key: 'some value' }, I18n.t('foo.only_en', locale: :en))
assert_raises { I18n.t('foo.only_en.some_key', locale: :de, raise: true) }
assert_raises { I18n.t('foo.only_en', locale: :de, raise: true) }
end
+
+ def test_without_language
+ assert_equal('Without Language', I18n.t('foo.without_language', language: :en))
+ assert_equal('Without Language', I18n.t('foo.without_language', language: :de))
+ end
end