summaryrefslogtreecommitdiffstats
path: root/spec/lib/autotest/puppet_rspec.rb
Commit message (Collapse)AuthorAgeFilesLines
* moving autotest directory to make it possible to run autotest againRick Bradley2007-12-051-46/+0
|
* This won't be perfect by any stretch, but put in a moderately reasonable ↵Rick Bradley2007-10-261-0/+33
| | | | autotest config file.
* One significant step closer to getting autotest running properly on the ↵Rick Bradley2007-10-261-0/+13
Puppet specs. Created a spec/lib/monkey_patches/ directory for holding patches to RSpec functionality. Extraced 'confine' and 'runnable?' support from the local copy of RSpec (spec/lib/spec/) and now load them from the monkey_patches/ directory. Fixed a bad include in one of the specs. Made it possible for the gem-installed spec binary (which autotest calls) to be used with Puppet. Imported the Autotest::Rspec class, created a PuppetRspec autotest class, added a discovery.rb file for autotest to pick these up. Autotest still has the following problems: * it needs to be run with the proper include path: % ruby -I spec/lib/ `which autotest` * the patterns in our custom autotest handler (puppet_rspec) aren't yet fully specified (they only recognize changes in our spec files, not changes in the puppet libs which they are testing)