module ChefSpec::API::User

def manage_user(resource_name)

Returns:
  • (ChefSpec::Matchers::ResourceMatcher) -

Parameters:
  • resource_name (String, Regex) --

Other tags:
    Example: Assert that a +user+ was _not_ managed -
    Example: Assert that a +user+ was managed using a regex -
    Example: Assert that a +user+ was managed with attributes -
    Example: Assert that a +user+ was managed with predicate matchers -
    Example: Assert that a +user+ was managed -
def manage_user(resource_name)
  ChefSpec::Matchers::ResourceMatcher.new(:user, :manage, resource_name)
end