On 24.4.2012 00:49, Tim Sharpe wrote:
> So, rspec-puppet can't and won't ever work this way. What it's testing is
> the resulting catalogue of Puppet resources that your host executes (the
> behaviour of Puppet). Instead of testing that a variable is defined, you
> should be testing the resour
So, rspec-puppet can't and won't ever work this way. What it's testing is the
resulting catalogue of Puppet resources that your host executes (the behaviour
of Puppet). Instead of testing that a variable is defined, you should be
testing the resource(s) that those variables control/adjust.
Fo
On 23/04/2012 16:51, Shantanu wrote:
I have a module in which parameterized classes inherit regular (non-
parameterized) 'params' class. I am writing RSpec tests for this
module and would like to make sure that required variables have been
declared in the params class. Also, is it possible to wr