Add rake task to run new unit tests

master
Mitchell Hashimoto 2011-12-05 18:35:59 -08:00
parent 683bbdaa3c
commit 60db1c8394
1 changed files with 6 additions and 1 deletions

View File

@ -2,8 +2,13 @@ require 'rake/testtask'
require 'rspec/core/rake_task'
namespace :test do
Rake::TestTask.new do |t|
RSpec::Core::RakeTask.new do |t|
t.name = "unit"
t.pattern = "test/unit/**/*_test.rb"
end
Rake::TestTask.new do |t|
t.name = "unit_old"
t.libs << "test/unit_legacy"
t.pattern = "test/unit_legacy/**/*_test.rb"
end