- Defined in:
Instance Method Summary collapse
#include_recipe(recipe_name) ⇒ ChefSpec::Matchers::IncludeRecipeMatcher
Assert that a Chef run includes a certain recipe.
Instance Method Details
Assert that a Chef run includes a certain recipe. Given a Chef Recipe that calls
The Examples section demonstrates the different ways to test an
include_recipe directive with ChefSpec.
22 23 24
# File 'lib/chefspec/api/include_recipe.rb', line 22 def include_recipe(recipe_name) ::::.(recipe_name) end