Methods

Class/Module Index [+]

Quicksearch

ActionController::Testing

Public Instance Methods

headers=(new_headers) click to toggle source

TODO : Rewrite tests using controller.headers= to use Rack env

# File lib/action_controller/metal/testing.rb, line 8
def headers=(new_headers)
  @_response ||= ActionDispatch::Response.new
  @_response.headers.replace(new_headers)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.