TODO : Rewrite tests using controller.headers= to use Rack env
# File lib/action_controller/metal/testing.rb, line 26 def headers=(new_headers) @_response ||= ActionDispatch::Response.new @_response.headers.replace(new_headers) end
TODO: Clean this up
# File lib/action_controller/metal/testing.rb, line 13 def process_with_new_base_test(request, response) @_request = request @_response = response @_response.request = request ret = process(request.parameters[:action]) if cookies = @_request.env['action_dispatch.cookies'] cookies.write(@_response) end @_response.prepare! ret end
Generated with the Darkfish Rdoc Generator 2.