module ActionController::Testing
def headers=(new_headers)
def headers=(new_headers) @_response ||= ActionDispatch::Response.new @_response.headers.replace(new_headers) end
def headers=(new_headers) @_response ||= ActionDispatch::Response.new @_response.headers.replace(new_headers) end