Returns a Hash of instance variables and their
values, as defined by the user in the test case, which are then assigned to
the view being rendered. This is
generally intended for internal use and extension frameworks.
# File actionview/lib/action_view/test_case.rb, line 413
def view_assigns
Hash[_user_defined_ivars.map do |ivar|
[ivar[1..-1].to_sym, instance_variable_get(ivar)]
end]
end