I'm trying to add some unit tests for a cookbook of mine (say cookbook1) with ChefSpec::ServerRunner
.
My directory structure is as follows:
mycookbooks
->cookbook1
->->recipes
->->spec
->cookbook2
-> Cheffile
I have added require 'chefspec/librarian'
to resolve the dependency cookbooks but this assumes that Cheffile is in the same directory cookbook1.
Is there a way I can specify the path of the Cheffile to
ChefSpec::ServerRunner
.