[chef] Checking that a dcirectory exists with ChefSpec/RSpec


Chronological Thread 
  • From: "Sean Farrow" < >
  • To: < >
  • Subject: [chef] Checking that a dcirectory exists with ChefSpec/RSpec
  • Date: Mon, 22 Jun 2015 19:28:04 +0100

Hi,

 

I’ve got a unit test that uses another recipe to install chocolatey. I want to check that the folder that chocolatey is installed to exists. Given that the recipe doesn’t create the folder, what is the best way of doing this using ChefSpec?

Kind regards

Sean.




Archive powered by MHonArc 2.6.16.

§