aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2010-10-20 16:11:59 -0300
committerEmilio Tagua <miloops@gmail.com>2010-11-19 19:08:56 -0300
commit93daf1b80984eab80f0da13c2b42ae76b63085e3 (patch)
tree115da5500d0ed24ebffb4b40abaa7beeb517daf1 /activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb
parent69b627ef670b1dc7fee0b5d25903cebdeed49576 (diff)
downloadrails-93daf1b80984eab80f0da13c2b42ae76b63085e3.tar.gz
rails-93daf1b80984eab80f0da13c2b42ae76b63085e3.tar.bz2
rails-93daf1b80984eab80f0da13c2b42ae76b63085e3.zip
Revert "IdentityMap - Adjustments to test cases"
This reverts commit 4db9dca55e3acc2c59f252eb83ecb83db5f4b81b. Conflicts: activerecord/test/cases/identity_map_test.rb
Diffstat (limited to 'activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb')
-rw-r--r--activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb b/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb
index fae4029bbc..fb59f63f91 100644
--- a/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb
+++ b/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb
@@ -27,8 +27,6 @@ class EagerLoadIncludeFullStiClassNamesTest < ActiveRecord::TestCase
post = Namespaced::Post.find_by_title( 'Great stuff', :include => :tagging )
assert_nil post.tagging
- ActiveRecord::IdentityMap.clear # we need to clear IM to reload post.
-
ActiveRecord::Base.store_full_sti_class = true
post = Namespaced::Post.find_by_title( 'Great stuff', :include => :tagging )
assert_instance_of Tagging, post.tagging