Flowdock
method

set_test_assigns

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActionController::Testing
set_test_assigns() 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/metal/testing.rb, line 21
    def set_test_assigns
      @assigns = {}
      (instance_variable_names - self.class.protected_instance_variables).each do |var|
        name, value = var[1..-1], instance_variable_get(var)
        @assigns[name] = value
      end
    end
Register or log in to add new notes.