HomePhorge

(#13690) Update 2.7.x for spec_helper compatibility with external projects
b6ee08ac0c94Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

(#13690) Update 2.7.x for 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.

Details

Event Timeline

Chris Price <chris@puppetlabs.com> committed rPUb6ee08ac0c94: (#13690) Update 2.7.x for spec_helper compatibility with external projects (authored by Chris Price <chris@puppetlabs.com>).Apr 10 2012, 7:28 PM