fixed success detection for rspec due to faulty regex matching

This commit is contained in:
Nick Gauthier 2010-04-11 11:02:50 -04:00
parent fe624c217f
commit 202563ffd8
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ module Hydra #:nodoc:
Spec::Runner.options.run_examples
hydra_output.rewind
output = hydra_output.read.chomp
output = "" if output =~ /^\.*$/
output = "" if output.gsub("\n","") =~ /^\.*$/
return output
end