puppetlabs/puppet — pull request #647 by cprice-puppet (2012-04-09 19:57:15+00:00)
Title: Refactor/2.7.x/13690 spec helper compatibility

... with external projects.

This basically entails:

* Introducing a new class Puppet::Test::TestHelper that will contain
basic setup / teardown methods, which external projects can use to
make sure that puppet is initialized properly during testing.
* Remove or abstract the Puppet::Util::Settings#initialize_for_tests /
clear_for_tests methods in P::U::S
* Modify puppet core spec_helper.rb to use the new API.