aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/test_case.rb
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2010-10-15 12:42:17 -0300
committerEmilio Tagua <miloops@gmail.com>2010-11-19 19:08:55 -0300
commitd13df4c6c44a93a3d51d9e6981d69de71f2e4024 (patch)
tree9af47786cb63824980a7c8a2e5c1c6a244edfd46 /activerecord/lib/active_record/test_case.rb
parent87aa9133c43668ab79e6fb31a872ea309e3811e2 (diff)
downloadrails-d13df4c6c44a93a3d51d9e6981d69de71f2e4024.tar.gz
rails-d13df4c6c44a93a3d51d9e6981d69de71f2e4024.tar.bz2
rails-d13df4c6c44a93a3d51d9e6981d69de71f2e4024.zip
Use just one repository and keep it in the current thread.
Diffstat (limited to 'activerecord/lib/active_record/test_case.rb')
-rw-r--r--activerecord/lib/active_record/test_case.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/test_case.rb b/activerecord/lib/active_record/test_case.rb
index c7557fb224..2c126e7f3c 100644
--- a/activerecord/lib/active_record/test_case.rb
+++ b/activerecord/lib/active_record/test_case.rb
@@ -6,7 +6,6 @@ module ActiveRecord
setup :cleanup_identity_map
def cleanup_identity_map
- ActiveRecord::IdentityMap.current_repository_name = :test
ActiveRecord::Base.identity_map.clear
end