Rakefile in sanitize-rails-0.7.2 vs Rakefile in sanitize-rails-0.8.0

- old
+ new

@@ -15,11 +15,15 @@ rdoc.rdoc_files.include 'lib/**/*.rb' end Bundler::GemHelper.install_tasks -desc 'Will someone help write tests?' -task :default do - puts - puts 'Can you help in writing tests? Please do :-)' - puts +require 'rake/testtask' + +Rake::TestTask.new do |t| + t.libs.push 'test' + t.test_files = FileList['test/*_test.rb'] + t.warning = true + t.verbose = true end + +task default: :test