Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8008

Show
Ignore:
Timestamp:
10/23/07 20:08:51 (11 months ago)
Author:
bitsweat
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/lib/tasks/testing.rake

    r7770 r8008  
    4949    end 
    5050  end.compact 
    51   puts "Errors running #{errors.to_sentence}!" if errors.any? 
     51  abort "Errors running #{errors.to_sentence}!" if errors.any? 
    5252end 
    5353