summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
AgeCommit message (Collapse)Author
2012-05-31Switch to using puppetlabs_spec_helper as a gemBranan Purvine-Riley
2012-05-14(#11156) Fix module path fixtures so rspec works in most rubiesKen Barber
Previously this module was using an experimental pattern using mktmpdir for creating its module path for rspec-puppet to use, which has since been deprecated in favour of a static directory. This was largely because ntp was one of the earlier modules we tried to make work in Jenkins. This change aligns the module to use the same pattern used in the rspec- puppet setup stage: https://github.com/rodjek/rspec-puppet/blob/master/lib/rspec-puppet/setup.rb This should stop the problems with Ruby 1.8.5 complaining about a lack of mktmpdir, and also make it more consistent with other modules in the wild.
2012-03-29(#13439) Make spec_helper work with Puppet masterJeff McCune
Without this patch the spec_helper does not invoke Puppet.settings.send(:initialize_everything_for_tests) This is necessary to set default configuration settings, otherwise exceptions are raised when testing against the Puppet master branch.
2011-12-04(#11152) Create temporary puppetconf area with empty manifests/site.ppKen Barber
Without a manifests/site.pp file for Puppet to read we get rspec testing errors. This patch creates a temporary directory and creates an empty site.pp to avoid this.
2011-11-16(#10846) add spec tests for ntp classDan Bode
This commit adds some unit tests for the ntp class. Also adds a rakefile for running the spec tests
2011-02-23Initial commitJeff McCune