method
process_with_test
v2.2.1 -
Show latest stable
- Class:
ActionController::Base
process_with_test(*args)public
No documentation available.
# 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