TODO : Rewrite tests using controller.headers= to use Rack env
Source: show | on GitHub
# File actionpack/lib/action_controller/metal/testing.rb, line 8 def headers=(new_headers) @_response ||= ActionDispatch::Response.new @_response.headers.replace(new_headers) end