Skip to content
This repository
Browse code

Remove not used variable in eager test

  • Loading branch information...
commit 3aebe13b1b9c159e3598f49c104029c9bb89e0c5 1 parent 040ff5b
Carlos Antonio da Silva carlosantoniodasilva authored

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. +0 1  activerecord/test/cases/associations/eager_test.rb
1  activerecord/test/cases/associations/eager_test.rb
@@ -592,7 +592,6 @@ def test_eager_with_has_and_belongs_to_many_and_limit
592 592 # gets raw row hashes from the database and then instantiates them, this test ensures that
593 593 # it only instantiates one actual object per record from the database.
594 594 def test_has_and_belongs_to_many_should_not_instantiate_same_records_multiple_times
595   - welcome = posts(:welcome)
596 595 categories = Category.includes(:posts)
597 596
598 597 general = categories.find { |c| c == categories(:general) }

0 comments on commit 3aebe13

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