lib/jericho.rb in jericho-0.2.2 vs lib/jericho.rb in jericho-0.2.3
- old
+ new
@@ -5,10 +5,10 @@
list_of_scenarios_reports = {}
parsed_report.each do |element|
element['elements'].each do |scenario|
scenario_status = 'Passed'
scenario['steps'].each do |step|
- scenario_status = 'Failed' if step['purify']['status'] != 'passed'
+ scenario_status = 'Failed' if step['result']['status'] != 'passed'
end
list_of_scenarios_reports[(scenario['name']).to_s] = scenario_status
end
end
list_of_scenarios_reports