Rakefile in acts_as_citable-4.0.0 vs Rakefile in acts_as_citable-5.0.0.alpha
- old
+ new
@@ -18,21 +18,12 @@
rdoc.options << '--line-numbers'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-
-
-
Bundler::GemHelper.install_tasks
-require 'rake/testtask'
-
-Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
- t.libs << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = false
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.ruby_opts = "--debug --dev"
end
-
-
-task :default => :test
+task default: :spec