aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/test_process.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-12-19 17:15:22 -0600
committerJoshua Peek <josh@joshpeek.com>2008-12-19 17:15:22 -0600
commitfda62ecf707b4023b30303dd0baf303f1ef8d344 (patch)
tree7329cd55304c2f5b092817171805fa7cf1088e97 /actionpack/lib/action_controller/test_process.rb
parenta14bbd7a8574c3b485d4b71e0950b2b9ff4e90d7 (diff)
downloadrails-fda62ecf707b4023b30303dd0baf303f1ef8d344.tar.gz
rails-fda62ecf707b4023b30303dd0baf303f1ef8d344.tar.bz2
rails-fda62ecf707b4023b30303dd0baf303f1ef8d344.zip
Rename AbstractResponse to Response and inheirt from Rack::Response
Diffstat (limited to 'actionpack/lib/action_controller/test_process.rb')
-rw-r--r--actionpack/lib/action_controller/test_process.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb
index 1597f637fc..c4d7d52951 100644
--- a/actionpack/lib/action_controller/test_process.rb
+++ b/actionpack/lib/action_controller/test_process.rb
@@ -290,8 +290,8 @@ module ActionController #:nodoc:
# TestResponse, which represent the HTTP response results of the requested
# controller actions.
#
- # See AbstractResponse for more information on controller response objects.
- class TestResponse < AbstractResponse
+ # See Response for more information on controller response objects.
+ class TestResponse < Response
include TestResponseBehavior
def recycle!
@@ -435,7 +435,7 @@ module ActionController #:nodoc:
end
def session
- @response.session
+ @request.session
end
def flash