how to use PuppetlabsSpec::Files ?
I am trying to test my personal puppet module with the help of "puppetlabsspechelper".
I would like to get the path of a temporary directory that is cleaned after the spec is replayed. I guess that I could be using PuppetlabsSpec::Files module and the tmpdir method inside it. But as the method is not a defined as "self" and this is a module, how should I proceed ?
Do I neeed to just create a testing class that is including this module ?
If yes, in which directory Where should I put this class to be clean in ... (more)