That seems to be it. Thanks. I thought I had tried that yesterday but it 
gave no more output.

john
On Wednesday, 7 May 2014 23:21:06 UTC+1, denmat wrote:
>
> Hi,
>
> You need to include the puppet logging in you rspec file.
>
> I can't remember what that is off the top of my head but I'm pretty sure 
> this will help you along the way.
>
>
> http://www.ruempler.eu/2012/04/03/puppet-rspec-debugging/?mobile=1
>
>
> On 8 May 2014, at 0:42, choffee <[email protected] <javascript:>> wrote:
>
> 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] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/puppet-users/e743953c-6175-4193-a620-1456d84ac84d%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/e743953c-6175-4193-a620-1456d84ac84d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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/7db5df47-bc01-4cc3-a9ea-70b9f2de84e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to