fixed success detection for rspec due to faulty regex matching
This commit is contained in:
parent
fe624c217f
commit
202563ffd8
@ -131,7 +131,7 @@ module Hydra #:nodoc:
|
|||||||
Spec::Runner.options.run_examples
|
Spec::Runner.options.run_examples
|
||||||
hydra_output.rewind
|
hydra_output.rewind
|
||||||
output = hydra_output.read.chomp
|
output = hydra_output.read.chomp
|
||||||
output = "" if output =~ /^\.*$/
|
output = "" if output.gsub("\n","") =~ /^\.*$/
|
||||||
|
|
||||||
return output
|
return output
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user