Re: [Puppet Users] is there any way to get rspec to tell you the contents of the catalog on a failure?

2015-07-22 Thread Hunter Haugen
When I get a vague failure, such as "expect File[/whatever] to be in the catalog" and don't know why it's not, I put a pry in the `it` block before the test failure and re-run. It will drop you into a pry prompt and you can inspect the catalog manually by running `catalogue` and look for anything t

[Puppet Users] is there any way to get rspec to tell you the contents of the catalog on a failure?

2015-07-20 Thread Johnson Earls
Another rspec question: Is there any way to get rspec to tell you, when a test fails, what the contents of the catalog was, at a high level at least, that generated the failure? I've got a code block that looks right to me, and an rspec test that looks right to me. the test is failing and I h