diff options
author | Chris Price <chris@puppetlabs.com> | 2012-06-26 17:44:39 -0700 |
---|---|---|
committer | Chris Price <chris@puppetlabs.com> | 2012-06-26 17:44:39 -0700 |
commit | 29f8f89c19b2189aa78ab430e94671669cb4716c (patch) | |
tree | 51b8c47d5576217b4bc8bf45510f38790b43b806 /Rakefile | |
parent | e299ac6212b0468426f971b216447ef6bc679149 (diff) | |
parent | d9410f72e416da15eb1660d15ba2b4288ccc0873 (diff) |
Merge pull request #73 from branan/use_spechelper_gem
Update for new gem version of puppetlabs_spec_helper
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 18 |
1 files changed, 2 insertions, 16 deletions
@@ -1,16 +1,2 @@ -require 'rake' -require 'rspec/core/rake_task' - -task :default => [:test] - -desc 'Run RSpec' -RSpec::Core::RakeTask.new(:test) do |t| - t.pattern = 'spec/{unit}/**/*.rb' - t.rspec_opts = ['--color'] -end - -desc 'Generate code coverage' -RSpec::Core::RakeTask.new(:coverage) do |t| - t.rcov = true - t.rcov_opts = ['--exclude', 'spec'] -end +require 'rubygems' +require 'puppetlabs_spec_helper/rake_tasks' |