Flowdock
method

reset_template_assertion

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: ActionController::TemplateAssertions
reset_template_assertion() 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 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
Register or log in to add new notes.