diff options
author | Yehuda Katz <yehudakatz@YK.local> | 2010-02-19 15:05:46 -0800 |
---|---|---|
committer | Yehuda Katz <yehudakatz@YK.local> | 2010-02-19 15:05:46 -0800 |
commit | bf8898b49b5a8c03d328bde7b6ee30edb02d873b (patch) | |
tree | 7821b9f7f2ad2f2de868e96e8e431762f7c1a367 /actionpack/test/template | |
parent | e7055e5b084f5e29e9cf8dab8d56943da65ccb43 (diff) | |
download | rails-bf8898b49b5a8c03d328bde7b6ee30edb02d873b.tar.gz rails-bf8898b49b5a8c03d328bde7b6ee30edb02d873b.tar.bz2 rails-bf8898b49b5a8c03d328bde7b6ee30edb02d873b.zip |
Revert "i18n translate with arrays issue solved"
This reverts commit e7055e5b084f5e29e9cf8dab8d56943da65ccb43.
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/translation_helper_test.rb | 5 |
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"]) |