Rakefile in rainforest-1.0.7 vs Rakefile in rainforest-2.0.0
- old
+ new
@@ -1,15 +1,8 @@
-task :default => [:all]
+require 'rake/testtask'
+require 'yaml'
-task :test do
- ret = true
- Dir["test/**/*_test.rb"].each do |f|
- ret = ret && ruby(f, '')
- end
-end
+task :default => [:test]
-task :all do
- Rake::Task["test"].invoke
- require 'active_support/all'
- Rake::Task["test"].reenable
- Rake::Task["test"].invoke
-end
\ No newline at end of file
+Rake::TestTask.new do |t|
+ t.pattern = './test/**/[^_]*_test.rb'
+end