aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-05-15 11:25:56 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2010-05-15 11:25:56 -0700
commitc5537c1158c91e3244d24751b1e86290b136dc09 (patch)
tree9ef20e2acb82a00aea82dcd9db8dd851c44e9a0a
parentda90fe94662b338a2430e99ff0d3298059a28a51 (diff)
downloadrails-c5537c1158c91e3244d24751b1e86290b136dc09.tar.gz
rails-c5537c1158c91e3244d24751b1e86290b136dc09.tar.bz2
rails-c5537c1158c91e3244d24751b1e86290b136dc09.zip
Ruby 1.9: fix invalid rack response in test
-rw-r--r--actionpack/test/dispatch/request/xml_params_parsing_test.rb2
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))