aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYehuda Katz <yehudakatz@YK.local>2010-02-19 15:05:46 -0800
committerYehuda Katz <yehudakatz@YK.local>2010-02-19 15:05:46 -0800
commitbf8898b49b5a8c03d328bde7b6ee30edb02d873b (patch)
tree7821b9f7f2ad2f2de868e96e8e431762f7c1a367
parente7055e5b084f5e29e9cf8dab8d56943da65ccb43 (diff)
downloadrails-bf8898b49b5a8c03d328bde7b6ee30edb02d873b.tar.gz
rails-bf8898b49b5a8c03d328bde7b6ee30edb02d873b.tar.bz2
rails-bf8898b49b5a8c03d328bde7b6ee30edb02d873b.zip
Revert "i18n translate with arrays issue solved"
This reverts commit e7055e5b084f5e29e9cf8dab8d56943da65ccb43.
-rw-r--r--actionpack/test/template/translation_helper_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/test/template/translation_helper_test.rb b/actionpack/test/template/translation_helper_test.rb
index 1a9c9fa35c..699fb2f5bc 100644
--- a/actionpack/test/template/translation_helper_test.rb
+++ b/actionpack/test/template/translation_helper_test.rb
@@ -17,11 +17,6 @@ class TranslationHelperTest < ActiveSupport::TestCase
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"])