puppetlabs/puppet — pull request #802 by cprice-puppet (2012-05-18 23:04:16+00:00)
Title: Feature/master/acceptance test util libs

* Adds a "helper.rb", which you can use by adding "--helper" to your call to systest.rb. Current implementation doesn't do anything except for add puppet/acceptance/lib to your LOAD_PATH, which gives you the ability to do "require 'puppet/acceptance/*'" from within your tests.

* Adds acceptance/lib/puppet/acceptance/temp_file_utils.rb, which contains a bunch of utility methods for dealing with temp files, file permissions, etc. from within your acceptance tests.

* Modifies tests to use this new library instead of manually defining all of the utility methods.