From 82314608b529debe36d5bfc88af5ee0fdd609eef Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 1 Nov 2007 07:59:24 +0000 Subject: Factor Integration::Runner behavior out of IntegrationTest. Introduce Session#request_count which counts processed requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/controller/request_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/test/controller/request_test.rb') diff --git a/actionpack/test/controller/request_test.rb b/actionpack/test/controller/request_test.rb index 1eb1990397..27b262d994 100644 --- a/actionpack/test/controller/request_test.rb +++ b/actionpack/test/controller/request_test.rb @@ -777,7 +777,7 @@ class XmlParamsParsingTest < Test::Unit::TestCase def parse_body(body) env = { 'CONTENT_TYPE' => 'application/xml', 'CONTENT_LENGTH' => body.size.to_s } - cgi = ActionController::Integration::Session::MockCGI.new(env, body) + cgi = ActionController::Integration::Session::StubCGI.new(env, body) ActionController::CgiRequest.new(cgi).request_parameters end end @@ -787,7 +787,7 @@ class LegacyXmlParamsParsingTest < XmlParamsParsingTest def parse_body(body) env = { 'HTTP_X_POST_DATA_FORMAT' => 'xml', 'CONTENT_LENGTH' => body.size.to_s } - cgi = ActionController::Integration::Session::MockCGI.new(env, body) + cgi = ActionController::Integration::Session::StubCGI.new(env, body) ActionController::CgiRequest.new(cgi).request_parameters end end -- cgit v1.2.3