diff options
author | Mislav Marohnić <mislav.marohnic@gmail.com> | 2009-04-17 19:35:03 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-04-17 19:35:03 -0500 |
commit | 8423bb6a684fd68461faab87149a5bdfea61f43a (patch) | |
tree | bf1a061f6dd98f6163523bfe3b731d78b056c300 /actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb | |
parent | 5b92dcb6757e90da316bd0c7a8472b9fa737f268 (diff) | |
download | rails-8423bb6a684fd68461faab87149a5bdfea61f43a.tar.gz rails-8423bb6a684fd68461faab87149a5bdfea61f43a.tar.bz2 rails-8423bb6a684fd68461faab87149a5bdfea61f43a.zip |
Improve rewindable input test coverage so tests fail when you remove the middleware
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb')
-rw-r--r-- | actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb b/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb index 51a660f614..44d13797f0 100644 --- a/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb +++ b/actionpack/test/dispatch/request/url_encoded_params_parsing_test.rb @@ -150,8 +150,7 @@ class UrlEncodedParamsParsingTest < ActionController::IntegrationTest end def call(env) - req = Rack::Request.new(env) - req.params # Parse params + env['rack.input'].read @app.call(env) end end |