Rakefile in audited-4.0.0.rc1 vs Rakefile in audited-4.0.0

- old
+ new

@@ -1,9 +1,10 @@ #!/usr/bin/env rake require 'bundler/gem_helper' require 'rspec/core/rake_task' +require 'rake/testtask' require 'appraisal' Bundler::GemHelper.install_tasks(:name => 'audited') Bundler::GemHelper.install_tasks(:name => 'audited-activerecord') Bundler::GemHelper.install_tasks(:name => 'audited-mongo_mapper') @@ -21,6 +22,12 @@ ADAPTERS.each do |adapter| Rake::Task[adapter].invoke end end -task :default => :spec +Rake::TestTask.new do |t| + t.libs << "test" + t.test_files = FileList['test/**/*_test.rb'] + t.verbose = true +end + +task :default => [:spec, :test]