diff options
author | Marcel Molina <marcel@vernix.org> | 2005-11-21 02:17:10 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2005-11-21 02:17:10 +0000 |
commit | dd198e259f6b16f729aa5dbef2f234399cdc0b38 (patch) | |
tree | f29b9547009b1406546f985462e147514cfd74c6 /activesupport/test/core_ext/array_ext_test.rb | |
parent | 69bf71f5e9b537f88acc0d4492a057336e7305d1 (diff) | |
download | rails-dd198e259f6b16f729aa5dbef2f234399cdc0b38.tar.gz rails-dd198e259f6b16f729aa5dbef2f234399cdc0b38.tar.bz2 rails-dd198e259f6b16f729aa5dbef2f234399cdc0b38.zip |
Pull out Array#to_strings in favor of more general Symbol#to_proc.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/core_ext/array_ext_test.rb')
-rw-r--r-- | activesupport/test/core_ext/array_ext_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/test/core_ext/array_ext_test.rb b/activesupport/test/core_ext/array_ext_test.rb index b07fd9854f..159dc2a478 100644 --- a/activesupport/test/core_ext/array_ext_test.rb +++ b/activesupport/test/core_ext/array_ext_test.rb @@ -33,8 +33,4 @@ class ArrayExtConversionTests < Test::Unit::TestCase def test_one_element assert_equal "one", ['one'].to_sentence end - - def test_to_strings - assert_equal %w(one two three), [:one, :two, :three].to_strings - end end |