aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorAnupam Choudhury <contact2anupam@gmail.com>2013-04-03 20:26:06 +0530
committerAnupam Choudhury <contact2anupam@gmail.com>2013-04-04 20:36:27 +0530
commitf73140fd4773a1de47017eb0d053a4164c9f3747 (patch)
tree37331fae0174fdc0f90287fac2885a10a537ca3a /activesupport/test
parent29146383c5f536b285a27d4e72b4ec75b2e74d50 (diff)
downloadrails-f73140fd4773a1de47017eb0d053a4164c9f3747.tar.gz
rails-f73140fd4773a1de47017eb0d053a4164c9f3747.tar.bz2
rails-f73140fd4773a1de47017eb0d053a4164c9f3747.zip
Removed unused comma after loop variable
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/enumerable_test.rb2
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 0a1abac767..161e9ba1c3 100644
--- a/activesupport/test/core_ext/enumerable_test.rb
+++ b/activesupport/test/core_ext/enumerable_test.rb
@@ -24,7 +24,7 @@ class EnumerableTests < ActiveSupport::TestCase
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