aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-01 22:42:26 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-01 22:42:26 -0800
commit2e296c8ee5ddcbd20d7cc80313553148092f77b2 (patch)
tree667e7b058736b8ca9f45a1dfe6b74ddb594e8670 /railties/test
parent5b37036b0aa15ef26c65623457d1a2c8408e32d1 (diff)
parent210d0c7b412760f3efeb0924100479106cfa4817 (diff)
downloadrails-2e296c8ee5ddcbd20d7cc80313553148092f77b2.tar.gz
rails-2e296c8ee5ddcbd20d7cc80313553148092f77b2.tar.bz2
rails-2e296c8ee5ddcbd20d7cc80313553148092f77b2.zip
Merge pull request #12365 from jbaudanza/reorder
Move Rack::Cache after ActionDispatch::Static in the middleware stack
Diffstat (limited to 'railties/test')
-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 20d1d76d78..1557b90d27 100644
--- a/railties/test/application/middleware_test.rb
+++ b/railties/test/application/middleware_test.rb
@@ -61,7 +61,7 @@ module ApplicationTests
boot!
- assert_equal "Rack::Cache", middleware.first
+ assert middleware.include?("Rack::Cache")
end
test "ActiveRecord::Migration::CheckPending is present when active_record.migration_error is set to :page_load" do