I have a recipe that depends on the apache2 cookbook to, among other things, enable a module using the definition:
apache_module 'passenger'
Is there a way to test that call with chefspec ?
According to "Chef libraries or definitions?", a definition is just a grouping of several resources.
Should I add expectations for each resource added by the definition ?
Or is that testing 3rd party code ?