Rakefile in pgit-0.0.2 vs Rakefile in pgit-0.0.3
- old
+ new
@@ -13,12 +13,8 @@
Gem::PackageTask.new(spec) do |pkg|
end
desc 'Run specs'
-require 'rake/testtask'
-Rake::TestTask.new(:spec) do |s|
- s.libs << "spec"
- s.test_files = FileList['spec/**/*_test.rb']
-end
-
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new
task :default => [:spec]