[Puppet Users] rspec testing; how to test a subclass that requires another class

2015-05-02 Thread Gavin Williams
Trey You can use "let(:pre_condition)" to include any dependencies when testing... E.g. https://github.com/fatmcgav/fatmcgav-glassfish/blob/develop/spec/classes/install_spec.rb#L14 Gav -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To uns

[Puppet Users] rspec testing; how to test a subclass that requires another class

2015-05-01 Thread Trey Ormsbee
I have a puppet module that I am not sure hot to write a test for: Example below: class appsuite ( $param1, $param2, $param3, $param4, ) { include appsuite::params include appsuite::repo include appsuite::preconfig } #nothing in params, repo or preconfig really matter, other th