module ChefSpec::API::IncludeRecipe

def include_recipe(recipe_name)

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

Parameters:
  • recipe_name (String) --

Other tags:
    Example: Assert the +apache2::default+ recipe is included in the Chef run -
def include_recipe(recipe_name)
  ChefSpec::Matchers::IncludeRecipeMatcher.new(recipe_name)
end