stop constructing a request object in this setter

Since we just go through the normal test harness that sets up a request
for us, we don't need to do this anymore.
This commit is contained in:
Aaron Patterson 2015-09-23 15:45:51 -07:00
parent 4f7dbf50d9
commit f679397634

@ -4,7 +4,6 @@ module Testing
# TODO : Rewrite tests using controller.headers= to use Rack env
def headers=(new_headers)
@_response ||= ActionDispatch::Response.new
@_response.headers.replace(new_headers)
end