Sha256: 1fb2f482d39dd17794304cc74a03c9946cf998aee723afcf6fb5105147a6491f
Contents?: true
Size: 536 Bytes
Versions: 51
Compression:
Stored size: 536 Bytes
Contents
# frozen_string_literal: true module ActionController module Testing # Behavior specific to functional tests module Functional # :nodoc: 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! @_url_options = nil self.formats = nil self.params = nil end end end end
Version data entries
51 entries across 48 versions & 6 rubygems