module 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