module ActionController::Testing

def headers=(new_headers)

TODO : Rewrite tests using controller.headers= to use Rack env
def headers=(new_headers)
  @_response ||= ActionDispatch::Response.new
  @_response.headers.replace(new_headers)
end