features/step_definitions/steps.rb in chemistrykit-3.4.2 vs features/step_definitions/steps.rb in chemistrykit-3.5.0

- old
+ new

@@ -24,14 +24,14 @@ files = Dir.glob(File.join(current_dir, logs_path, '*.*')) count = 0 files.each do |file| case type when 'failed image' - count += 1 if file =~ /failed_.+\.png/ + count += 1 if file =~ /.+_failshot_.+\.png/ when 'report' - count += 1 if file =~ /report_.+\.log/ + count += 1 if file =~ /.+_saucejob_.+\.log/ when 'sauce log' - count += 1 if file =~ /sauce_job_.+\.log/ + count += 1 if file =~ /.+_serverlog_.+\.log/ end end count.should == number.to_i end