module ChefSpec::API::User
def remove_user(resource_name)
-
(ChefSpec::Matchers::ResourceMatcher)
-
Parameters:
-
resource_name
(String, Regex
) --
Other tags:
- Example: Assert that a +user+ was _not_ remove -
Example: Assert that a +user+ was remove using a regex -
Example: Assert that a +user+ was remove with attributes -
Example: Assert that a +user+ was remove with predicate matchers -
Example: Assert that a +user+ was remove -
def remove_user(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:user, :remove, resource_name) end