diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-23 20:08:51 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-23 20:08:51 +0000 |
commit | a2c9c92b720cb66211e75adec178ac46e3cd7d92 (patch) | |
tree | ec0449a7c8403c58b0079152f672c3bc5e2cecc8 /railties/lib/tasks | |
parent | 8091ed54205a20f3756be3af0d64f98d59276c1d (diff) | |
download | rails-a2c9c92b720cb66211e75adec178ac46e3cd7d92.tar.gz rails-a2c9c92b720cb66211e75adec178ac46e3cd7d92.tar.bz2 rails-a2c9c92b720cb66211e75adec178ac46e3cd7d92.zip |
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
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/testing.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/tasks/testing.rake b/railties/lib/tasks/testing.rake index 69e4b569f0..f495031b79 100644 --- a/railties/lib/tasks/testing.rake +++ b/railties/lib/tasks/testing.rake @@ -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 |