diff options
-rw-r--r-- | CHANGELOG | 4 | ||||
-rw-r--r-- | Rakefile | 12 |
2 files changed, 16 insertions, 0 deletions
@@ -1,4 +1,8 @@ 0.24.x + Added spec Rake task + + Fixed #1526 - Fixed leak in template + Fixed #1506 - Removed storeconfig duplicate indexes Fixed #1508 - Added HP-UX package provider @@ -144,3 +144,15 @@ task :tracdocs do sh "puppetdoc -m trac -r #{ref.to_s}" end end + +desc "Run the specs under spec/" +task :spec do + require 'spec' + require 'spec/rake/spectask' + require 'rcov' + Spec::Rake::SpecTask.new do |t| + # t.rcov = true + t.spec_opts = ['--options', "spec/spec.opts"] + t.spec_files = FileList['spec/**/*.rb'] + end +end |