edge badge
Namespace
Methods
H
Included Modules
Instance Public methods
headers=(new_headers)

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