Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unused variables. Oops!

  • Loading branch information...
commit 506e26687dbabd3658caa165750b4dc7f9b9bd8b 1 parent e06c06d
@tenderlove tenderlove authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/calculations_test.rb
View
4 activerecord/test/cases/calculations_test.rb
@@ -241,8 +241,8 @@ def test_should_calculate_grouped_association_with_invalid_field
end
def test_should_group_by_association_with_non_numeric_foreign_key
- firm = Speedometer.create! id: 'ABC'
- mv = Minivan.create! id: 'OMG', speedometer_id: 'ABC'
+ Speedometer.create! id: 'ABC'
+ Minivan.create! id: 'OMG', speedometer_id: 'ABC'
c = Minivan.group(:speedometer).count(:all)
first_key = c.keys.first
Please sign in to comment.
Something went wrong with that request. Please try again.