aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/ordered_options_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-09-27 10:25:51 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-09-27 10:25:51 +0000
commit888603686737a6f692ca841a32b570056651c0e3 (patch)
treedfaa0d3a8422de8ba882f4af296015f508cd5e0e /activesupport/test/ordered_options_test.rb
parent42bc9b3b16581ecc3915b1f1205850b9b337c686 (diff)
downloadrails-888603686737a6f692ca841a32b570056651c0e3.tar.gz
rails-888603686737a6f692ca841a32b570056651c0e3.tar.bz2
rails-888603686737a6f692ca841a32b570056651c0e3.zip
Convert the Ruby 1.9 enumerator to an array
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/ordered_options_test.rb')
-rw-r--r--activesupport/test/ordered_options_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/ordered_options_test.rb b/activesupport/test/ordered_options_test.rb
index 903c730ce4..f8ef645e37 100644
--- a/activesupport/test/ordered_options_test.rb
+++ b/activesupport/test/ordered_options_test.rb
@@ -4,7 +4,7 @@ class OrderedHashTest < Test::Unit::TestCase
def setup
@keys = %w( blue green red pink orange )
@values = %w( 000099 009900 aa0000 cc0066 cc6633 )
- @ordered_hash = ActiveSupport::OrderedHash.new(@keys.zip(@values))
+ @ordered_hash = ActiveSupport::OrderedHash.new(@keys.zip(@values).to_a)
end
def test_order