TODO : Rewrite tests using controller.headers= to use Rack env
# File lib/action_controller/metal/testing.rb, line 26 26: def headers=(new_headers) 27: @_response ||= ActionDispatch::Response.new 28: @_response.headers.replace(new_headers) 29: end
TODO: Clean this up
# File lib/action_controller/metal/testing.rb, line 13 13: def process_with_new_base_test(request, response) 14: @_request = request 15: @_response = response 16: @_response.request = request 17: ret = process(request.parameters[:action]) 18: if cookies = @_request.env['action_dispatch.cookies'] 19: cookies.write(@_response) 20: end 21: @_response.prepare! 22: ret 23: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.