diff options
author | David Lee <davidomundo@gmail.com> | 2011-05-10 19:00:16 -0700 |
---|---|---|
committer | David Lee <davidomundo@gmail.com> | 2011-05-10 19:21:32 -0700 |
commit | 828f171536527c6f6ba9d1b78037008d99a4a5e1 (patch) | |
tree | 3f8c20b5d0d276e00cef3912335194154bc87ecd /railties/test/application/initializers | |
parent | fa187ec77867ac732b08fd2d5cb4d98712fc3313 (diff) | |
download | rails-828f171536527c6f6ba9d1b78037008d99a4a5e1.tar.gz rails-828f171536527c6f6ba9d1b78037008d99a4a5e1.tar.bz2 rails-828f171536527c6f6ba9d1b78037008d99a4a5e1.zip |
Fix tests to reflect IdentityMap no longer default
Broke in 0e1dcae1857db4f6721561caff38d8be748d0b40
Diffstat (limited to 'railties/test/application/initializers')
-rw-r--r-- | railties/test/application/initializers/frameworks_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/initializers/frameworks_test.rb b/railties/test/application/initializers/frameworks_test.rb index 19311a7fa0..196d121c14 100644 --- a/railties/test/application/initializers/frameworks_test.rb +++ b/railties/test/application/initializers/frameworks_test.rb @@ -166,7 +166,7 @@ module ApplicationTests require "#{app_path}/config/environment" - expects = [ActiveRecord::IdentityMap::Middleware, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActiveRecord::SessionStore] + expects = [ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActiveRecord::SessionStore] middleware = Rails.application.config.middleware.map { |m| m.klass } assert_equal expects, middleware & expects end |