Module: ActionController::Testing
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Instance Chain:
self,
RackDelegation
|
|
Defined in: | actionpack/lib/action_controller/metal/testing.rb |
Class Method Summary
::ActiveSupport::Concern - Extended
Instance Attribute Summary
-
#headers=(new_headers)
writeonly
TODO : Rewrite tests using controller.headers= to use ::Rack env.
RackDelegation - Included
Instance Method Summary
RackDelegation - Included
Instance Attribute Details
#headers=(new_headers) (writeonly)
TODO : Rewrite tests using controller.headers= to use ::Rack env
# File 'actionpack/lib/action_controller/metal/testing.rb', line 8
def headers=(new_headers) @_response ||= ActionDispatch::Response.new @_response.headers.replace(new_headers) end