testing.rake should set the default task, closes #2564

This commit is contained in:
José Valim 2011-10-07 22:25:03 +02:00
parent 0d3d9a150a
commit 8a4239fc7e
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,3 @@
task :default => :test
task :rails_env do
# TODO Do we really need this?
unless defined? RAILS_ENV

View File

@ -71,6 +71,8 @@ module Kernel
end
end
task :default => :test
desc 'Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)'
task :test do
tests_to_run = ENV['TEST'] ? ["test:single"] : %w(test:units test:functionals test:integration)