diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-07 21:37:02 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-07 21:37:02 -0200 |
commit | 3aebe13b1b9c159e3598f49c104029c9bb89e0c5 (patch) | |
tree | 0160069821f71f3fc5e7315598a660ae289d2040 /activerecord | |
parent | 040ff5b472c5c90837c3913ce5bf144ad6bb3ac3 (diff) | |
download | rails-3aebe13b1b9c159e3598f49c104029c9bb89e0c5.tar.gz rails-3aebe13b1b9c159e3598f49c104029c9bb89e0c5.tar.bz2 rails-3aebe13b1b9c159e3598f49c104029c9bb89e0c5.zip |
Remove not used variable in eager test
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/associations/eager_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/eager_test.rb b/activerecord/test/cases/associations/eager_test.rb index d3601e0dba..20c6b691fc 100644 --- a/activerecord/test/cases/associations/eager_test.rb +++ b/activerecord/test/cases/associations/eager_test.rb @@ -592,7 +592,6 @@ class EagerAssociationTest < ActiveRecord::TestCase # gets raw row hashes from the database and then instantiates them, this test ensures that # it only instantiates one actual object per record from the database. def test_has_and_belongs_to_many_should_not_instantiate_same_records_multiple_times - welcome = posts(:welcome) categories = Category.includes(:posts) general = categories.find { |c| c == categories(:general) } |