]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(Maint) Make rspec tests work with Puppet 2.6.4
authorJeff McCune <jeff@puppetlabs.com>
Mon, 10 Oct 2011 18:58:48 +0000 (11:58 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Mon, 10 Oct 2011 18:58:48 +0000 (11:58 -0700)
commitcc001095b3b22afd8a887e0c5d2c73e596513c1f
tree5e56ddb10819b8fc74b24e5aef2940af7a1be578
parent9f98d3feaf7e3fee55bc2b7b2e1d8f75b0972672
(Maint) Make rspec tests work with Puppet 2.6.4

The behavior without this patch applied is that the rspec tests do not
function with Puppet 2.6.4.  This patch back-ports some fixes introduced
in Puppet 2.7.x to the spec_helper to make the tests work as expected on
Puppet 2.6.4.

The specific patches back ported from Puppet are:

 * 2ae88067 (Puppet::Util::ExecutionStub.reset)
 * cf183534 (Switched spec tests to use a class rather than Array as the
             log destination.)
spec/spec_helper.rb