Skip to content
Browse files

Removed unused comma after loop variable

  • Loading branch information...
1 parent 2914638 commit f73140fd4773a1de47017eb0d053a4164c9f3747 @anupamc anupamc committed Apr 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/core_ext/enumerable_test.rb
View
2 activesupport/test/core_ext/enumerable_test.rb
@@ -24,7 +24,7 @@ def each
def test_group_by
names = %w(marcel sam david jeremy)
klass = Struct.new(:name)
- objects = (1..50).inject([]) do |people,|
+ objects = (1..50).inject([]) do |people|
p = klass.new
p.name = names.sort_by { rand }.first
people << p

0 comments on commit f73140f

Please sign in to comment.
Something went wrong with that request. Please try again.