aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorTobias Lütke <tobias.luetke@gmail.com>2007-05-22 22:26:00 +0000
committerTobias Lütke <tobias.luetke@gmail.com>2007-05-22 22:26:00 +0000
commitd418b7d39139bb881c37f0f095788ec034b98965 (patch)
treee5992ad509637339c69eb25d45580b51151ad7b5 /actionpack
parent19fbd84e126e77fccafbca06d3b8e9723de492cb (diff)
downloadrails-d418b7d39139bb881c37f0f095788ec034b98965.tar.gz
rails-d418b7d39139bb881c37f0f095788ec034b98965.tar.bz2
rails-d418b7d39139bb881c37f0f095788ec034b98965.zip
Set RAW_POST_DATA in integration tests as expected
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/integration.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb
index 1a5c8af69a..cee807dae4 100644
--- a/actionpack/lib/action_controller/integration.rb
+++ b/actionpack/lib/action_controller/integration.rb
@@ -245,6 +245,7 @@ module ActionController
"SERVER_PORT" => (https? ? "443" : "80"),
"CONTENT_TYPE" => "application/x-www-form-urlencoded",
"CONTENT_LENGTH" => data ? data.length.to_s : nil,
+ "RAW_POST_DATA" => data,
"HTTP_COOKIE" => encode_cookies,
"HTTPS" => https? ? "on" : "off",
"HTTP_ACCEPT" => accept