Permalink
Browse files

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

  • Loading branch information...
1 parent 0d3d9a1 commit 8a4239fc7e6669da9843e5aa28b5ba2a47f26b6f @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
@@ -1,5 +1,3 @@
-task :default => :test
-
task :rails_env do
# TODO Do we really need this?
unless defined? RAILS_ENV
@@ -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 8a4239f

Please sign in to comment.