Rakefile in ohm-0.0.38 vs Rakefile in ohm-0.1.0.rc1
- old
+ new
@@ -22,16 +22,8 @@
system "kill #{File.read(REDIS_PID)}"
system "rm #{REDIS_PID}"
end
end
-task :test do
- Dir["test/**/*_test.rb"].each do |file|
- fork do
- load file
- end
-
- Process.wait
-
- exit $?.exitstatus unless $?.success?
- end
+Rake::TestTask.new(:test) do |t|
+ t.pattern = 'test/**/*_test.rb'
end