rake test aborts if tests failed. Closes #9962 [Jason Roelofs]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2007-10-23 20:08:51 +00:00
parent 8091ed5420
commit a2c9c92b72

View File

@@ -48,7 +48,7 @@ task :test do
task
end
end.compact
puts "Errors running #{errors.to_sentence}!" if errors.any?
abort "Errors running #{errors.to_sentence}!" if errors.any?
end
namespace :test do