From fa612b194bcc89f748b19902345e5a4ab692cb97 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 2 May 2011 21:36:07 -0400 Subject: [PATCH] Update rake tasks to use rspec 2. --- Rakefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Rakefile b/Rakefile index 253d4af..353ebce 100644 --- a/Rakefile +++ b/Rakefile @@ -8,16 +8,9 @@ end task :default => [:test, :spec] -begin - require 'spec/rake/spectask' - - desc "Run specs" - Spec::Rake::SpecTask.new(:spec) do |t| - t.spec_files = FileList["spec/**/*.rb"] - end -rescue LoadError - puts "Spec task can't be loaded. `gem install rspec`" -end +require 'rspec/core/rake_task' +desc "Run specs" +RSpec::Core::RakeTask.new begin require 'jeweler'