summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2011-03-03 20:50:47 -0800
committerDaniel DeLeo <dan@opscode.com>2011-03-03 20:50:47 -0800
commit2176379a0d49dbe4c92473915374f173c62eb4ea (patch)
treed36e5cbd6abb41855d0e04a46d5c680c9470e61a /Rakefile
parentfe5cd0116d13982557fdc92355e493e3849a5e0e (diff)
downloadmixlib-authentication-2176379a0d49dbe4c92473915374f173c62eb4ea.tar.gz
switch to rspec2
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index cb187c5..043a2a8 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,7 +2,7 @@ require 'rubygems'
require 'rake/gempackagetask'
require 'rubygems/specification'
require 'date'
-require 'spec/rake/spectask'
+require 'rspec/core/rake_task'
GEM = "mixlib-authentication"
GEM_VERSION = "1.1.5"
@@ -34,9 +34,9 @@ end
task :default => :spec
desc "Run specs"
-Spec::Rake::SpecTask.new do |t|
- t.spec_files = FileList['spec/**/*_spec.rb']
- t.spec_opts = %w(-fs --color)
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = 'spec/**/*_spec.rb'
+ t.rspec_opts = %w(-fs --color)
end
Rake::GemPackageTask.new(spec) do |pkg|