aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2011-02-18 19:53:11 -0300
committerAaron Patterson <aaron.patterson@gmail.com>2011-02-18 14:57:29 -0800
commit18439e28e04a5ba2934145284d103711994ae757 (patch)
treeb1855cb51ab9ca705a292309fbad5fb66e9ca139
parentf41bf6938fd4aa5a83777cc767f7f32ace5f6539 (diff)
downloadrails-18439e28e04a5ba2934145284d103711994ae757.tar.gz
rails-18439e28e04a5ba2934145284d103711994ae757.tar.bz2
rails-18439e28e04a5ba2934145284d103711994ae757.zip
We really don't care about IM middleware order, the important is that it gets included.
-rw-r--r--railties/test/application/middleware_test.rb2
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