aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-11-01 07:59:24 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-11-01 07:59:24 +0000
commit82314608b529debe36d5bfc88af5ee0fdd609eef (patch)
treea1f8c4330f7e98e6ec339122f4c28c799d94340a /actionpack/test
parente17252f89188839b357ba95288e90039d2328179 (diff)
downloadrails-82314608b529debe36d5bfc88af5ee0fdd609eef.tar.gz
rails-82314608b529debe36d5bfc88af5ee0fdd609eef.tar.bz2
rails-82314608b529debe36d5bfc88af5ee0fdd609eef.zip
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
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/request_test.rb4
1 files changed, 2 insertions, 2 deletions
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