diff options
author | José Valim <jose.valim@gmail.com> | 2012-03-13 16:19:41 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-03-13 16:19:41 -0700 |
commit | 795062282e072f289918688e978a0cf24e6d3aa5 (patch) | |
tree | 44c20ee7ce7b438052c6c6f48603c560954858ef /railties/test | |
parent | c1f397f82c7b3f352500832a399b5dbdc500b9c8 (diff) | |
parent | dde3058c3a7350d6e28d602a1f57fe908075bbe7 (diff) | |
download | rails-795062282e072f289918688e978a0cf24e6d3aa5.tar.gz rails-795062282e072f289918688e978a0cf24e6d3aa5.tar.bz2 rails-795062282e072f289918688e978a0cf24e6d3aa5.zip |
Merge pull request #5261 from carlosantoniodasilva/identity-map-removal
Remove IdentityMap
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/middleware_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/railties/test/application/middleware_test.rb b/railties/test/application/middleware_test.rb index 712a555c4a..e6f85918f6 100644 --- a/railties/test/application/middleware_test.rb +++ b/railties/test/application/middleware_test.rb @@ -115,7 +115,6 @@ module ApplicationTests boot! assert !middleware.include?("ActiveRecord::ConnectionAdapters::ConnectionManagement") assert !middleware.include?("ActiveRecord::QueryCache") - assert !middleware.include?("ActiveRecord::IdentityMap::Middleware") end test "removes lock if allow concurrency is set" do @@ -173,12 +172,6 @@ module ApplicationTests assert_equal "Rack::Runtime", middleware.fourth end - test "identity map is inserted" do - add_to_config "config.active_record.identity_map = true" - boot! - assert middleware.include?("ActiveRecord::IdentityMap::Middleware") - end - test "insert middleware before" do add_to_config "config.middleware.insert_before ActionDispatch::Static, Rack::Config" boot! |