Skip to content
This repository
Browse code

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

  • Loading branch information...
commit e424906eb7b48177b8858501246461e4ce759af8 1 parent 39c7b63
José Valim authored October 07, 2011
2  railties/lib/rails/tasks/misc.rake
... ...
@@ -1,5 +1,3 @@
1  
-task :default => :test
2  
-
3 1
 task :rails_env do
4 2
   # TODO Do we really need this?
5 3
   unless defined? RAILS_ENV
2  railties/lib/rails/test_unit/testing.rake
@@ -71,6 +71,8 @@ module Kernel
71 71
   end
72 72
 end
73 73
 
  74
+task :default => :test
  75
+
74 76
 desc 'Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)'
75 77
 task :test do
76 78
   tests_to_run = ENV['TEST'] ? ["test:single"] : %w(test:units test:functionals test:integration)

0 notes on commit e424906

Please sign in to comment.
Something went wrong with that request. Please try again.