module ChefSpec::API::User

def unlock_user(resource_name)

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

Parameters:
  • resource_name (String, Regex) --

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