summaryrefslogtreecommitdiffstats
path: root/spec/integration/util/settings.rb
Commit message (Collapse)AuthorAgeFilesLines
* [#3994-part 2] rename integration tests to *_spec.rbMarkus Roberts2010-06-281-30/+0
| | | | | | | | | Some spec files like active_record.rb had names that would confuse the load path and get loaded instead of the intended implentation when the spec was run from the same directory as the file. Author: Matt Robinson <matt@puppetlabs.com> Date: Fri Jun 11 15:29:33 2010 -0700
* Changing the interface of Puppet::ResourceLuke Kanies2010-02-171-1/+0
| | | | | | | | We need the ability to set the namespace and environment at initialization so the resource can look up qualified types. Signed-off-by: Luke Kanies <luke@reductivelabs.com>
* Bug #3401 Spec failed due to missing manditory setting in mockJesse Wolfe2010-03-221-2/+6
| | | | | Puppet::Util::Settings#use now requires the :noop setting to exist, and this test was not providing one in its mocked default structure.
* Adding a Spec lib directory and moving tmpfile to itLuke Kanies2009-05-261-6/+3
| | | | | | | | | | | | | | We had a common pattern for creating a temporary file during integration tests, and this just makes that common pattern explicit by moving it to a module in the newly-created lib directory in the spec directory. We definitely don't want to go overboard in using libraries in our tests, but sometimes it gets a bit excessive to completely avoid them. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fix #1834 part1 - Fix tempfile failing testsBrice Figureau2008-12-201-1/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Refactoring the Settings class to use Puppet::ResourceLuke Kanies2008-12-181-0/+29
It also now uses the Catalog instead of the recursive TransObject stuff. Signed-off-by: Luke Kanies <luke@madstop.com>