aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/test_process.rb
diff options
context:
space:
mode:
authorHongli Lai (Phusion) <hongli@phusion.nl>2008-07-18 20:48:18 +0200
committerHongli Lai (Phusion) <hongli@phusion.nl>2008-07-18 20:48:18 +0200
commit3dbc1cfeb3e9984fa4584b231d3bb78ff1a94f9c (patch)
treeedbf8ca2fb01b4c93c342634208410a6947c66b0 /actionpack/lib/action_controller/test_process.rb
parent632a4705b9d492bf3c9c2973b12330ad73e6f420 (diff)
downloadrails-3dbc1cfeb3e9984fa4584b231d3bb78ff1a94f9c.tar.gz
rails-3dbc1cfeb3e9984fa4584b231d3bb78ff1a94f9c.tar.bz2
rails-3dbc1cfeb3e9984fa4584b231d3bb78ff1a94f9c.zip
Write overviews for AbstractController::TestResponse and AbstractController::AbstractResponse.
Diffstat (limited to 'actionpack/lib/action_controller/test_process.rb')
-rw-r--r--actionpack/lib/action_controller/test_process.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb
index caf7253424..5bd997245e 100644
--- a/actionpack/lib/action_controller/test_process.rb
+++ b/actionpack/lib/action_controller/test_process.rb
@@ -273,7 +273,13 @@ module ActionController #:nodoc:
end
end
- class TestResponse < AbstractResponse #:nodoc:
+ # Integration test methods such as ActionController::Integration::Session#get
+ # and ActionController::Integration::Session#post return objects of class
+ # TestResponse, which represent the HTTP response results of the requested
+ # controller actions.
+ #
+ # See AbstractResponse for more information on controller response objects.
+ class TestResponse < AbstractResponse
include TestResponseBehavior
end