From 96f90b51d26da0f0b6abf3f6af83bd772660ce26 Mon Sep 17 00:00:00 2001 From: eileencodes Date: Mon, 28 Apr 2014 19:31:45 -0400 Subject: clear shouldnt fire callbacks so remove order test Since clear shouldn't fire callbacks the order doesn't matter since it was never updated. Remove the portion of this test that tests for order after clear. --- .../test/cases/associations/has_many_through_associations_test.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'activerecord/test') 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 e68ad74f70..2e62189e7a 100644 --- a/activerecord/test/cases/associations/has_many_through_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_through_associations_test.rb @@ -698,9 +698,6 @@ class HasManyThroughAssociationsTest < ActiveRecord::TestCase [:added, :before, "Roger"], [:added, :after, "Roger"] ], log.last(4) - - post.people_with_callbacks.clear - assert_equal((%w(Michael David Julian Roger) * 2).sort, log.last(8).collect(&:last).sort) end def test_dynamic_find_should_respect_association_include -- cgit v1.2.3