lib/jericho.rb in jericho-0.2.6 vs lib/jericho.rb in jericho-0.2.7
- old
+ new
@@ -15,12 +15,10 @@
list_of_scenarios_reports
end
def self.get_jenkins_job_name
file = File.open('logfile.txt')
- file.each_line do |line|
- puts line
- end
+ file.map {|line| puts line}
end
def self.comparison_reporter(list_of_scenarios_reports1, list_of_scenarios_reports2)
failed_tests = list_of_scenarios_reports2.select { |k, v| v == 'Failed' }.map do |k, v|
{