Information Technology Reference
In-Depth Information
$
mkdir spec
Figure 16-20. install_package matcher
Create a file called
default_spec.rb
with the content shown in
Example 16-12
.
Files contain-
ing ChefSpec code by convention are expected to end in the suffix
*_spec.rb
.
Example 16-12. chefdk/apache-test/spec/default_spec.rb