puppetlabs/puppet — pull request #602 by cprice-puppet (2012-03-27 21:52:31+00:00)
Title: (#13439) refactor spec helper for spec compatibility between 2.7 and master

This change is intended to allow specs in external projects (grayskull, puppetlabs-stdlib) to be compatible with both 2.7 and master versions of puppet. It basically just abstracts the interactions with the Settings objects that was happening in spec_helper into private setup / teardown methods in the Settings class itself.

We'd already started this pattern in master, so this change just exposes it in 2.7 as well.