Permalink
Browse files

Change Rakefile to work with rspec 2.3

  @todo - what did libs() do?
  • Loading branch information...
1 parent bfac1ce commit 80552097dd791b9476af0181582e3d9577d8c00e @hipe hipe committed Dec 15, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 Rakefile
View
@@ -1,12 +1,12 @@
require 'rubygems'
require 'rake'
require 'rake/gempackagetask'
-require 'spec/rake/spectask'
+require 'rspec/core/rake_task'
task :default => :spec
-Spec::Rake::SpecTask.new do |t|
+RSpec::Core::RakeTask.new do |t|
t.pattern = 'spec/**/*spec.rb'
- t.libs << 'spec'
+ # t.libs << 'spec' # @todo not sure what this did in the original rspec 1.3
end
load "./treetop.gemspec"

0 comments on commit 8055209

Please sign in to comment.