diff options
-rw-r--r-- | railties/test/application/middleware_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/middleware_test.rb b/railties/test/application/middleware_test.rb index d88bd05a74..44dd0bc8e4 100644 --- a/railties/test/application/middleware_test.rb +++ b/railties/test/application/middleware_test.rb @@ -116,7 +116,7 @@ module ApplicationTests test "identity map is inserted" do boot! - assert_equal "ActiveRecord::IdentityMap::Middleware", middleware[9] + assert middleware.include?("ActiveRecord::IdentityMap::Middleware") end test "insert middleware before" do |