Am I doing this wrong?

I create a test that says "check for a file named foo", write some code 
that should create the file. It fails for whatever reason and the test just 
says no.

How do I get a clue what I am doing wrong? It seems obvious to me that 
having the catalog that was tested against for that test would mean I could 
see my error rather than having to guess and test again.

john

On Wednesday, 7 May 2014 13:38:22 UTC+1, choffee wrote:
>
> I am trying to debug why my test is failing and not producing a file that 
> I thought it should be.
>
> Is there a simple way to view the catalogue that rspec is testing against?
>
> I tried --debug in the .rspec file with the debugger gem and it gives no 
> extra errors is there something more I need to add to my test to turn it on?
>
> Thanks 
>
> john
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/e743953c-6175-4193-a620-1456d84ac84d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to