puppetlabs/hiera-puppet — pull request #39 by jeffmccune (2012-07-18 23:34:04+00:00)
Title: (Maint) Use PuppetlabsSpec::PuppetSeams.parser_scope

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

Reviewed-by: Patrick Carlisle