diff options
author | Daniel DeLeo <dan@opscode.com> | 2011-03-03 20:50:47 -0800 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2011-03-03 20:50:47 -0800 |
commit | 2176379a0d49dbe4c92473915374f173c62eb4ea (patch) | |
tree | d36e5cbd6abb41855d0e04a46d5c680c9470e61a /Rakefile | |
parent | fe5cd0116d13982557fdc92355e493e3849a5e0e (diff) | |
download | mixlib-authentication-2176379a0d49dbe4c92473915374f173c62eb4ea.tar.gz |
switch to rspec2
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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| |