lib/jericho.rb in jericho-0.2.7 vs lib/jericho.rb in jericho-0.2.8

- old
+ new

@@ -14,11 +14,13 @@ end list_of_scenarios_reports end def self.get_jenkins_job_name + name = '' file = File.open('logfile.txt') - file.map {|line| puts line} + file.map {|line| name += line} + return name.chomp 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| {