From 656bea3d8d682282beddfd35b99befed3e24378b Mon Sep 17 00:00:00 2001 From: Pandark Date: Sun, 29 May 2011 15:30:53 +0200 Subject: [PATCH] Rackefile updated for rspec 2 --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 6b9f442..75686cd 100644 --- a/Rakefile +++ b/Rakefile @@ -1,11 +1,11 @@ require 'rake' -require 'spec/rake/spectask' +require 'rspec/core/rake_task' task :default => :spec -Spec::Rake::SpecTask.new(:spec) do |t| +RSpec::Core::RakeTask.new(:spec) do |t| #t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""] - t.spec_files = FileList['test/*_spec.rb'] + t.pattern = 'test/*_spec.rb' end desc "Run all specs"