diff options
Diffstat (limited to 'activesupport/test/core_ext')
-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 |