Flowdock
recycle!() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/test_case.rb, line 177
    def recycle!
      write_cookies!
      @env.delete('HTTP_COOKIE') if @cookies.blank?
      @env.delete('action_dispatch.cookies')
      @cookies = nil
      @formats = nil
      @env.delete_if { |k, v| k =~ /^(action_dispatch|rack)\.request/ }
      @env.delete_if { |k, v| k =~ /^action_dispatch\.rescue/ }
      @symbolized_path_params = nil
      @method = @request_method = nil
      @fullpath = @ip = @remote_ip = @protocol = nil
      @env['action_dispatch.request.query_parameters'] = {}
    end
Register or log in to add new notes.