diff options
author | Michael Bleigh <michael@intridea.com> | 2011-01-27 08:20:39 -0600 |
---|---|---|
committer | Michael Bleigh <michael@intridea.com> | 2011-01-27 08:20:39 -0600 |
commit | 7665f687d9e950996ce2e3cd0f9abd86d103777e (patch) | |
tree | 844eb3c1353da28037c602e951731e33dc00da5c /Rakefile | |
parent | 3ce12027af7015a22d6ec7c3e1ac7e0a9743f5fd (diff) | |
download | hashie-7665f687d9e950996ce2e3cd0f9abd86d103777e.tar.gz |
Update to RSpec 2.0
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -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 |