summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBranan Purvine-Riley <branan@puppetlabs.com>2012-05-31 10:07:34 -0700
committerBranan Purvine-Riley <branan@puppetlabs.com>2012-05-31 10:07:34 -0700
commita24401a799eec43bb7f2035c70e5a464d6d31211 (patch)
tree215a3826f7e338af543096e0c538f1c9174a5240 /Rakefile
parentdca7b9094b9410964f99a88b8878509467adf182 (diff)
Switch to using puppetlabs_spec_helper as a gem
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile23
1 files changed, 1 insertions, 22 deletions
diff --git a/Rakefile b/Rakefile
index 64cc262..14f1c24 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,23 +1,2 @@
-require 'rake'
require 'rubygems'
-require 'rspec/core/rake_task'
-
-task :default do
- sh %{rake -T}
-end
-
-# Aliases for spec. The (s) versions are used by rvm specs/tests.
-task :test => [:spec]
-task :tests => [:spec]
-task :specs => [:spec]
-
-desc 'Run all RSpec tests'
-RSpec::Core::RakeTask.new(:spec) do |t|
- 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 'puppetlabs_spec_helper/rake_tasks'