Permalink
Browse files

We really don't care about IM middleware order, the important is that…

… it gets included.
  • Loading branch information...
1 parent f41bf69 commit 18439e28e04a5ba2934145284d103711994ae757 @miloops miloops committed with tenderlove Feb 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/middleware_test.rb
@@ -116,7 +116,7 @@ def app
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

0 comments on commit 18439e2

Please sign in to comment.