diff options
author | eileencodes <eileencodes@gmail.com> | 2014-04-28 19:31:45 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2014-04-28 19:31:45 -0400 |
commit | 96f90b51d26da0f0b6abf3f6af83bd772660ce26 (patch) | |
tree | b09193630d028088c42cfd51d6c64e68a0c13f20 /activerecord | |
parent | a0401aa22adcebb099f9d53fdb743b645d24cf94 (diff) | |
download | rails-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')
-rw-r--r-- | activerecord/test/cases/associations/has_many_through_associations_test.rb | 3 |
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 |