aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2014-04-28 19:31:45 -0400
committereileencodes <eileencodes@gmail.com>2014-04-28 19:31:45 -0400
commit96f90b51d26da0f0b6abf3f6af83bd772660ce26 (patch)
treeb09193630d028088c42cfd51d6c64e68a0c13f20 /activerecord/test
parenta0401aa22adcebb099f9d53fdb743b645d24cf94 (diff)
downloadrails-96f90b51d26da0f0b6abf3f6af83bd772660ce26.tar.gz
rails-96f90b51d26da0f0b6abf3f6af83bd772660ce26.tar.bz2
rails-96f90b51d26da0f0b6abf3f6af83bd772660ce26.zip
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.
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/associations/has_many_through_associations_test.rb3
1 files changed, 0 insertions, 3 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 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