Rakefile in minuteman-1.0.3 vs Rakefile in minuteman-2.0.0.pre
- old
+ new
@@ -1,13 +1,13 @@
require "rake/testtask"
-Rake::TestTask.new("spec") do |t|
+Rake::TestTask.new("test") do |t|
+ t.libs << "test"
t.pattern = "test/**/*_test.rb"
end
Rake::TestTask.new("bench") do |t|
- t.pattern = "test/bench/*_bench.rb"
+ t.pattern = "test/**/*_bench.rb"
end
task :default => [:test]
task :all => [:test, :bench]
-task :test => [:spec]