method

reset_template_assertion

rails latest stable - Class: ActionController::TemplateAssertions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

reset_template_assertion()
public

No documentation available.

# File actionpack/lib/action_controller/test_case.rb, line 70
    def reset_template_assertion
      RENDER_TEMPLATE_INSTANCE_VARIABLES.each do |instance_variable|
        ivar_name = "@_#{instance_variable}"
        if instance_variable_defined?(ivar_name)
          instance_variable_get(ivar_name).clear
        end
      end
    end