module RSpec::Rails::ViewAssigns::InstanceMethods

def assign(key, value)

view being rendered.
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