lib/henry/task/cucumber_task.rb in henry-container-0.1.30 vs lib/henry/task/cucumber_task.rb in henry-container-0.1.31

- old
+ new

@@ -34,10 +34,10 @@ def execute super if self.execution.code == 'OK' - self.execution.code = 'ERROR' if self.execution.output =~ /\d+ scenarios \([^\(]*\d+ failed[^\(]*\)/ + self.execution.code = 'ERROR' if self.execution.output =~ /\d+ scenarios? \([^\(]*\d+ failed[^\(]*\)/ end end def after_execute if self.execution.code != 'OK' && !(self.generated_reports || []).empty? && !(self.report_recipients || []).empty?