Rakefile in unread-0.3.1 vs Rakefile in unread-0.4.0
- old
+ new
@@ -1,15 +1,6 @@
require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
-require 'rake'
-require 'rake/testtask'
+RSpec::Core::RakeTask.new(:spec)
-desc 'Default: run unit tests.'
-task :default => :test
-
-desc 'Test the unread plugin.'
-Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
- t.libs << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = true
-end
+task :default => :spec