diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-20 22:20:51 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-20 22:20:51 +0200 |
commit | 5eadb4d73dc5384509efeea3b9584ded19956c7b (patch) | |
tree | d44cb17e3646c9dfec5a6a6abc2d42f551f1dfe6 /railties/test/application | |
parent | 19ee8413deee4bf202e87d53bf6d99b24a795ac8 (diff) | |
download | rails-5eadb4d73dc5384509efeea3b9584ded19956c7b.tar.gz rails-5eadb4d73dc5384509efeea3b9584ded19956c7b.tar.bz2 rails-5eadb4d73dc5384509efeea3b9584ded19956c7b.zip |
Temporarily ship with ContentLength middleware.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/middleware_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/test/application/middleware_test.rb b/railties/test/application/middleware_test.rb index 6f14200a14..ef448f7791 100644 --- a/railties/test/application/middleware_test.rb +++ b/railties/test/application/middleware_test.rb @@ -19,7 +19,7 @@ module ApplicationTests boot! assert_equal [ - "Rack::ContentLength", + "Rails::Rack::ContentLength", "ActionDispatch::Static", "Rack::Lock", "ActiveSupport::Cache::Strategy::LocalCache", @@ -104,7 +104,7 @@ module ApplicationTests end test "insert middleware after" do - add_to_config "config.middleware.insert_after Rack::ContentLength, Rack::Config" + add_to_config "config.middleware.insert_after Rails::Rack::ContentLength, Rack::Config" boot! assert_equal "Rack::Config", middleware.second end @@ -127,7 +127,7 @@ module ApplicationTests end test "insert middleware before" do - add_to_config "config.middleware.insert_before Rack::ContentLength, Rack::Config" + add_to_config "config.middleware.insert_before Rails::Rack::ContentLength, Rack::Config" boot! assert_equal "Rack::Config", middleware.first end |