diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-10-17 15:55:30 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-10-17 15:55:30 -0700 |
commit | 506e26687dbabd3658caa165750b4dc7f9b9bd8b (patch) | |
tree | 865d1ce3521dbfe739171826a8c15bd2cdd90d0d /activerecord | |
parent | e06c06d460c21b4a4828e629247baf6dd8f8f1fe (diff) | |
download | rails-506e26687dbabd3658caa165750b4dc7f9b9bd8b.tar.gz rails-506e26687dbabd3658caa165750b4dc7f9b9bd8b.tar.bz2 rails-506e26687dbabd3658caa165750b4dc7f9b9bd8b.zip |
remove unused variables. Oops!
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/calculations_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/calculations_test.rb b/activerecord/test/cases/calculations_test.rb index 000d86d104..abbf2a765e 100644 --- a/activerecord/test/cases/calculations_test.rb +++ b/activerecord/test/cases/calculations_test.rb @@ -241,8 +241,8 @@ class CalculationsTest < ActiveRecord::TestCase 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 |