Fix mislabeled test tasks

This commit is contained in:
alexdunae 2010-03-04 00:36:59 -08:00
parent b81fc99197
commit 57dead53f3

View file

@ -12,14 +12,14 @@ task :test => ["test:lib", "test:defs"]
namespace :test do namespace :test do
desc 'Run the unit tests.' desc 'Run the unit tests.'
Rake::TestTask.new(:lib) do |t| Rake::TestTask.new(:defs) do |t|
t.libs << 'lib' t.libs << 'lib'
t.test_files = FileList['test/defs/test*.rb'].exclude('test_helper.rb') t.test_files = FileList['test/defs/test*.rb'].exclude('test_helper.rb')
t.verbose = false t.verbose = false
end end
desc 'Run the definition tests.' desc 'Run the definition tests.'
Rake::TestTask.new(:defs) do |t| Rake::TestTask.new(:lib) do |t|
t.libs << 'lib' t.libs << 'lib'
t.test_files = FileList['test/test*.rb'].exclude('test_helper.rb') t.test_files = FileList['test/test*.rb'].exclude('test_helper.rb')
t.verbose = false t.verbose = false