puppetlabs-stdlib/spec
Jeff McCune 665610baaf (#13439) Fix test failures with Puppet 2.6.x
Without this patch the spec_helper sends a message named
initialize_everything_for_tests to Puppet.settings.  This is a problem
because Puppet 2.6.x does not have this method, only Puppet 2.7.x and
Puppet master have this method at this time and we're getting false
positive test failures.

This patch fixes the problem by looking before we leap.  We test if the
private method exists before calling it.  This works with Ruby 1.8.5 and
onwards and Puppet 2.6, 2.7 and master.

This should fix all of the failures I've caused in Jenkins today.
2012-03-29 16:52:15 -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 (#13494) Specify the behavior of zero padded strings 2012-03-29 15:17:30 -07:00
spec.opts Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
spec_helper.rb (#13439) Fix test failures with Puppet 2.6.x 2012-03-29 16:52:15 -07:00
watchr.rb (Maint) Add watchr autotest script 2011-10-10 12:03:57 -07:00