summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index 22d4a9aeb..e790c0847 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,8 +5,8 @@ $LOAD_PATH << File.join(File.dirname(__FILE__), 'tasks')
require 'rake'
require 'rake/packagetask'
require 'rake/gempackagetask'
-require 'spec'
-require 'spec/rake/spectask'
+require 'rspec'
+require "rspec/core/rake_task"
module Puppet
PUPPETVERSION = File.read('lib/puppet.rb')[/PUPPETVERSION *= *'(.*)'/,1] or fail "Couldn't find PUPPETVERSION"
@@ -42,8 +42,8 @@ end
desc "Create the tarball and the gem - use when releasing"
task :puppetpackages => [:create_gem, :package]
-Spec::Rake::SpecTask.new do |t|
- t.spec_opts = ['--format','s', '--loadby','mtime','--color', '--backtrace']
+RSpec::Core::RakeTask.new do |t|
+ t.rspec_opts = ['--format','s', '--color', '--backtrace']
t.pattern ='spec/{unit,integration}/**/*.rb'
t.fail_on_error = false
end