Closed kadishmal closed 11 years ago
Ah, my mistake. I was loading template
from within the test file under files/default/tests/minitest/php_driver_test.rb
instead of recipes/php_driver.rb
. Putting the template
code inside the actual recipe, resolved the problem.
It seems that I can't use Chef's
template
resource within the test recipe, can I? It gives me the following error:The code I used was:
Is there a way to use default Chef resources?