summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMichael Bleigh <michael@intridea.com>2011-01-27 08:20:39 -0600
committerMichael Bleigh <michael@intridea.com>2011-01-27 08:20:39 -0600
commit7665f687d9e950996ce2e3cd0f9abd86d103777e (patch)
tree844eb3c1353da28037c602e951731e33dc00da5c /Rakefile
parent3ce12027af7015a22d6ec7c3e1ac7e0a9743f5fd (diff)
downloadhashie-7665f687d9e950996ce2e3cd0f9abd86d103777e.tar.gz
Update to RSpec 2.0
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/Rakefile b/Rakefile
index 46d90a2..99eea3d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -18,16 +18,10 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
-require 'spec/rake/spectask'
-Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs << 'lib' << 'spec'
- spec.spec_files = FileList['spec/**/*_spec.rb']
-end
-
-Spec::Rake::SpecTask.new(:rcov) do |spec|
- spec.libs << 'lib' << 'spec'
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new do |spec|
+ # spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
end
task :default => :spec