Class: ActionController::LiveTestResponse
- Inherits:
-
ActionController::Live::Response
- Object
- ActionDispatch::Response
- ActionController::Live::Response
- ActionController::LiveTestResponse
- Defined in:
- lib/action_controller/test_case.rb
Constant Summary
Constants inherited from ActionDispatch::Response
ActionDispatch::Response::CONTENT_TYPE, ActionDispatch::Response::EMPTY, ActionDispatch::Response::LOCATION, ActionDispatch::Response::NO_CONTENT_CODES, ActionDispatch::Response::SET_COOKIE
Constants included from ActionDispatch::Http::FilterRedirect
ActionDispatch::Http::FilterRedirect::FILTERED
Instance Attribute Summary
Attributes inherited from ActionDispatch::Response
#charset, #content_type, #header, #request, #sending_file, #status, #stream
Attributes included from ActionDispatch::Http::Cache::Response
Instance Method Summary collapse
Methods inherited from ActionDispatch::Response
#abort, #await_commit, #await_sent, #body=, #body_parts, #close, #code, #commit!, #committed?, #cookies, #delete_cookie, #initialize, #location, #location=, #message, #response_code, #sending!, #sending?, #sent!, #sent?, #set_cookie, #to_a, #to_ary
Methods included from ActionDispatch::Http::Cache::Response
#date, #date=, #date?, #last_modified, #last_modified=, #last_modified?
Methods included from ActionDispatch::Http::FilterRedirect
Constructor Details
This class inherits a constructor from ActionDispatch::Response
Instance Method Details
#body ⇒ Object
287 288 289 |
# File 'lib/action_controller/test_case.rb', line 287 def body @body ||= super end |
#recycle! ⇒ Object
282 283 284 285 |
# File 'lib/action_controller/test_case.rb', line 282 def recycle! @body = nil initialize end |