Information Technology Reference
In-Depth Information
Figure 16-19. Each ChefSpec matcher has detailed examples
Write Your First ChefSpec Test
The default location for ChefSpec tests are in a
spec
folder underneath your cookbook root.
Make sure that the
apache-test
root cookbook directory is the current working directory, and
create a
spec
directory as follows: