From bf8898b49b5a8c03d328bde7b6ee30edb02d873b Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Fri, 19 Feb 2010 15:05:46 -0800 Subject: Revert "i18n translate with arrays issue solved" This reverts commit e7055e5b084f5e29e9cf8dab8d56943da65ccb43. --- actionpack/test/template/translation_helper_test.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'actionpack') 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 = 'en, foo' 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"]) -- cgit v1.2.3