mirror of https://github.com/rails/rails
testing.rake should set the default task, closes #2564
This commit is contained in:
parent
0d3d9a150a
commit
8a4239fc7e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue