aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-03-03 03:31:57 +0000
committerMichael Koziarski <michael@koziarski.com>2008-03-03 03:31:57 +0000
commit42d1172c2d8739ea1f4fd28ab85f97883e79190b (patch)
treead1faa90a509ca45672d636eb6cf1a9697df6d43 /activesupport/test
parentb18585fb06a9eb9f5fa64e53594885f330167ad0 (diff)
downloadrails-42d1172c2d8739ea1f4fd28ab85f97883e79190b.tar.gz
rails-42d1172c2d8739ea1f4fd28ab85f97883e79190b.tar.bz2
rails-42d1172c2d8739ea1f4fd28ab85f97883e79190b.zip
Add OrderedHash#to_hash. Closes #11266 [josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/enumerable_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/test/core_ext/enumerable_test.rb b/activesupport/test/core_ext/enumerable_test.rb
index 9567f22e9a..f5facd54ad 100644
--- a/activesupport/test/core_ext/enumerable_test.rb
+++ b/activesupport/test/core_ext/enumerable_test.rb
@@ -22,6 +22,7 @@ class EnumerableTests < Test::Unit::TestCase
end
assert_equal objects.uniq.map(&:name), grouped.keys
+ assert({}.merge(grouped), "Could not convert ActiveSupport::OrderedHash into Hash")
end
def test_sums