module RSpec::Rails::ViewAssigns::InstanceMethods
def _assigns
def _assigns super.merge(_encapsulated_assigns) end
def _encapsulated_assigns
def _encapsulated_assigns @_encapsulated_assigns ||= {} end
def assign(key, value)
Assigns a value to an instance variable in the scope of the
assign(:widget, stub_model(Widget))
:call-seq:
def assign(key, value) _encapsulated_assigns[key] = value end