Flowdock
method

process_with_test

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Base
process_with_test(*args) 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_process.rb, line 17
    def process_with_test(*args)
      returning process_without_test(*args) do
        @assigns = {}
        (instance_variable_names - @@protected_instance_variables).each do |var|
          value = instance_variable_get(var)
          @assigns[var[1..-1]] = value
          response.template.assigns[var[1..-1]] = value if response
        end
      end
    end
Register or log in to add new notes.