From a24401a799eec43bb7f2035c70e5a464d6d31211 Mon Sep 17 00:00:00 2001 From: Branan Purvine-Riley Date: Thu, 31 May 2012 10:07:34 -0700 Subject: Switch to using puppetlabs_spec_helper as a gem --- Rakefile | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'Rakefile') 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' -- cgit v1.2.3