123456789_123456789_123456789_123456789_123456789_

Module: ActionController::Testing::Functional

Do not use. This module is for internal use only.

Overview

Behavior specific to functional tests

Instance Method Summary

Instance Method Details

#clear_instance_variables_between_requests

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/testing.rb', line 9

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

#recycle!

[ GitHub ]

  
# File 'actionpack/lib/action_controller/metal/testing.rb', line 18

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