2011-11-13 20:37:04 +00:00
|
|
|
require 'rake/testtask'
|
|
|
|
require 'rspec/core/rake_task'
|
|
|
|
|
|
|
|
namespace :test do
|
|
|
|
Rake::TestTask.new do |t|
|
|
|
|
t.name = "unit"
|
2011-12-03 23:44:57 +00:00
|
|
|
t.libs << "test/unit_legacy"
|
|
|
|
t.pattern = "test/unit_legacy/**/*_test.rb"
|
2011-11-13 20:37:04 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
RSpec::Core::RakeTask.new do |t|
|
|
|
|
t.name = "acceptance"
|
|
|
|
t.pattern = "test/acceptance/**/*_test.rb"
|
|
|
|
end
|
|
|
|
end
|