mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
testing.rake should set the default task, closes #2564
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user