diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-23 07:25:20 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-23 07:25:20 +0000 |
commit | 8273280a637a5e40de2c37dd1da507c749b11aab (patch) | |
tree | 47f6a1cfceccd4811b45a8722a874ec60ad88088 /activesupport/test | |
parent | fc71a07edb214a7f8c08ef69b6e6f4284761de5d (diff) | |
download | rails-8273280a637a5e40de2c37dd1da507c749b11aab.tar.gz rails-8273280a637a5e40de2c37dd1da507c749b11aab.tar.bz2 rails-8273280a637a5e40de2c37dd1da507c749b11aab.zip |
Enumerable#group_by uses ActiveSupport::OrderedHash
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/enumerable_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/enumerable_test.rb b/activesupport/test/core_ext/enumerable_test.rb index 234dc98de8..9567f22e9a 100644 --- a/activesupport/test/core_ext/enumerable_test.rb +++ b/activesupport/test/core_ext/enumerable_test.rb @@ -21,7 +21,7 @@ class EnumerableTests < Test::Unit::TestCase assert group.all? { |person| person.name == name } end - assert_equal objects.uniq.map(&:name), grouped.map { |name, group| name } + assert_equal objects.uniq.map(&:name), grouped.keys end def test_sums |