module ChefSpec::API::StubsFor

def stubs_for_current_value(target = nil, &block)

Returns:
  • (void) -

Parameters:
  • block (Proc) -- A block taking the resource object as a parameter.
  • target (String, nil) -- Resource name to inject, or nil for all resources.

Other tags:
    See: #stubs_for_resource -
def stubs_for_current_value(target = nil, &block)
  _chefspec_stubs_for_registry[:current_value][target] << block
end