aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/associations/has_many_through_associations_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_through_associations_test.rb b/activerecord/test/cases/associations/has_many_through_associations_test.rb
index 29f6166b00..c0e80c5fe9 100644
--- a/activerecord/test/cases/associations/has_many_through_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_through_associations_test.rb
@@ -46,7 +46,6 @@ class HasManyThroughAssociationsTest < ActiveRecord::TestCase
CurrentMembership.create! club: club, member: member2
club1 = Club.includes(:members).find_by_id club.id
- left, right = club1.members.map(&:id)
assert_equal [member1, member2].sort_by(&:id),
club1.members.sort_by(&:id)
end