Permalink
Browse files

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

  • Loading branch information...
1 parent 39c7b63 commit e424906eb7b48177b8858501246461e4ce759af8 @josevalim josevalim committed Oct 7, 2011
Showing with 2 additions and 2 deletions.
  1. +0 −2 railties/lib/rails/tasks/misc.rake
  2. +2 −0 railties/lib/rails/test_unit/testing.rake
View
2 railties/lib/rails/tasks/misc.rake
@@ -1,5 +1,3 @@
-task :default => :test
-
task :rails_env do
# TODO Do we really need this?
unless defined? RAILS_ENV
View
2 railties/lib/rails/test_unit/testing.rake
@@ -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)

0 comments on commit e424906

Please sign in to comment.