puppetlabs-stdlib/spec
Jeff McCune 97f836f41b (maint) Fix spec failures resulting from Facter API changes
Without this patch stdlib tests fail against Facter 2.x and master but
not 1.6.x.

This patch fixes the problem by initializing the example group
differently depending on the version of Facter integrating into the
system.  The adjusted methods are:

 1.x - Facter.collection.loader.load
 2.x - Facter.collection.load

The collection actually implements the load method in both version, it's
simply marked as private in 1.x.
2012-10-25 15:36:54 -07:00
..
functions re-formatting 2012-10-25 10:54:33 -07:00
lib/puppet_spec Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
monkey_patches Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
unit (maint) Fix spec failures resulting from Facter API changes 2012-10-25 15:36:54 -07:00
spec.opts Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
spec_helper.rb Revert "Revert "Merge branch 'haus-add_pe_facts_to_stdlib' into 2.4.x"" 2012-10-25 10:46:57 -07:00
watchr.rb (Maint) Add watchr autotest script 2011-10-10 12:03:57 -07:00