Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "i18n translate with arrays issue solved"

This reverts commit e7055e5.
  • Loading branch information...
commit bf8898b49b5a8c03d328bde7b6ee30edb02d873b 1 parent e7055e5
Yehuda Katz authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 actionpack/test/template/translation_helper_test.rb
View
5 actionpack/test/template/translation_helper_test.rb
@@ -17,11 +17,6 @@ def test_returns_missing_translation_message_wrapped_into_span
expected = '<span class="translation_missing">en, foo</span>'
assert_equal expected, translate(:foo)
end
-
- def test_translation_of_an_array
- I18n.expects(:translate).with(["foo", "bar"], :raise => true).returns(["foo", "bar"])
- assert_equal ["foo", "bar"], translate(["foo", "bar"])
- end
def test_translation_of_an_array
I18n.expects(:translate).with(["foo", "bar"], :raise => true).returns(["foo", "bar"])
Please sign in to comment.
Something went wrong with that request. Please try again.