1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge "test_new_base" runner into standard "test_action_pack"

This commit is contained in:
Joshua Peek 2009-09-19 13:22:58 -05:00
parent f5ace625fe
commit d5cfc72f55

View file

@ -32,14 +32,14 @@ end
# Run the unit tests # Run the unit tests
desc "Run all unit tests" desc "Run all unit tests"
task :test => [:test_action_pack, :test_active_record_integration, :test_new_base] task :test => [:test_action_pack, :test_active_record_integration]
Rake::TestTask.new(:test_action_pack) do |t| Rake::TestTask.new(:test_action_pack) do |t|
t.libs << 'test' t.libs << 'test'
# make sure we include the tests in alphabetical order as on some systems # make sure we include the tests in alphabetical order as on some systems
# this will not happen automatically and the tests (as a whole) will error # this will not happen automatically and the tests (as a whole) will error
t.test_files = Dir.glob( "test/{controller,dispatch,template,html-scanner}/**/*_test.rb" ).sort t.test_files = Dir.glob( "test/{abstract,controller,dispatch,new_base,template,html-scanner}/**/*_test.rb" ).sort
t.verbose = true t.verbose = true
#t.warning = true #t.warning = true
@ -59,13 +59,6 @@ Rake::TestTask.new(:test_active_record_integration) do |t|
t.verbose = true t.verbose = true
end end
desc 'New Controller Tests'
Rake::TestTask.new(:test_new_base) do |t|
t.libs << 'test'
t.test_files = Dir.glob("test/{abstract,new_base}/*_test.rb")
t.verbose = true
end
# Genereate the RDoc documentation # Genereate the RDoc documentation
Rake::RDocTask.new { |rdoc| Rake::RDocTask.new { |rdoc|