diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-05-15 11:25:56 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-05-15 11:25:56 -0700 |
commit | c5537c1158c91e3244d24751b1e86290b136dc09 (patch) | |
tree | 9ef20e2acb82a00aea82dcd9db8dd851c44e9a0a /actionpack | |
parent | da90fe94662b338a2430e99ff0d3298059a28a51 (diff) | |
download | rails-c5537c1158c91e3244d24751b1e86290b136dc09.tar.gz rails-c5537c1158c91e3244d24751b1e86290b136dc09.tar.bz2 rails-c5537c1158c91e3244d24751b1e86290b136dc09.zip |
Ruby 1.9: fix invalid rack response in test
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/request/xml_params_parsing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/request/xml_params_parsing_test.rb b/actionpack/test/dispatch/request/xml_params_parsing_test.rb index f2ce2c5b93..d44c642420 100644 --- a/actionpack/test/dispatch/request/xml_params_parsing_test.rb +++ b/actionpack/test/dispatch/request/xml_params_parsing_test.rb @@ -21,7 +21,7 @@ class XmlParamsParsingTest < ActionController::IntegrationTest def call(env) bar = env['action_dispatch.request.request_parameters']['foo'] result = "<ok>#{bar}</ok>" - [200, {"Content-Type" => "application/xml", "Content-Length" => result.length.to_s}, result] + [200, {"Content-Type" => "application/xml", "Content-Length" => result.length.to_s}, [result]] end end req = Rack::MockRequest.new(ActionDispatch::ParamsParser.new(Linted.new)) |