module ActionController::Testing::Functional

def clear_instance_variables_between_requests

:nodoc:
Behavior specific to functional tests
def clear_instance_variables_between_requests
  if defined?(@_ivars)
    new_ivars = instance_variables - @_ivars
    new_ivars.each { |ivar| remove_instance_variable(ivar) }
  end
  @_ivars = instance_variables
end

def recycle!

def recycle!
  @_url_options = nil
  self.formats = nil
  self.params = nil
end