puppetlabs/hiera-puppet — pull request #38 by jeffmccune (2012-07-18 21:32:18+00:00)
Title: (Maint) require PuppetlabsSpec::PuppetSeams#scope_for_test_harness

Without this patch the Hiera spec tests fail against Puppet 3.x and later.
The specs fail because the method signature of the Puppet::Parser::Scope
class initializer has changed from Puppet 2.7 behavior.

This patch fixes the problem by switching over all uses of
Puppet::Parser::Scope.new to the seam method implemented in the common
spec helper in PuppetlabsSpec::PuppetSeams#scope_for_test_harness