diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-01-14 16:48:37 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-01-14 16:48:57 -0800 |
commit | b8fadd708b9850a77e1f64038763fffcff502499 (patch) | |
tree | 4f20197c55e98b256ebbf126cbcf05636a9f511c /actionpack/test/controller/request/multipart_params_parsing_test.rb | |
parent | f65333a4cfcdc73b2f2e51fc4353370ab308135e (diff) | |
parent | 9bcf01b23c25e640da7908ac8b1b49fbf7d2e51a (diff) | |
download | rails-b8fadd708b9850a77e1f64038763fffcff502499.tar.gz rails-b8fadd708b9850a77e1f64038763fffcff502499.tar.bz2 rails-b8fadd708b9850a77e1f64038763fffcff502499.zip |
Sync 'rails/rails/master'
Diffstat (limited to 'actionpack/test/controller/request/multipart_params_parsing_test.rb')
-rw-r--r-- | actionpack/test/controller/request/multipart_params_parsing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/request/multipart_params_parsing_test.rb b/actionpack/test/controller/request/multipart_params_parsing_test.rb index d976ab8512..137fdbee54 100644 --- a/actionpack/test/controller/request/multipart_params_parsing_test.rb +++ b/actionpack/test/controller/request/multipart_params_parsing_test.rb @@ -200,7 +200,7 @@ class MultipartParamsParsingTest < ActionController::IntegrationTest def with_muck_middleware original_middleware = ActionController::Dispatcher.middleware middleware = original_middleware.dup - middleware.use MuckMiddleware + middleware.insert_after ActionController::RewindableInput, MuckMiddleware ActionController::Dispatcher.middleware = middleware yield ActionController::Dispatcher.middleware = original_middleware |