lib/fitting/statistics/list.rb in fitting-2.7.2 vs lib/fitting/statistics/list.rb in fitting-2.8.0
- old
+ new
@@ -39,11 +39,13 @@
if json_schema.bodies == []
res.push("✖ #{response.status}")
else
res.push("✔ #{response.status}")
end
- else
+ elsif @depth == 'cover'
res.push("#{json_schema.cover}% #{response.status}")
+ elsif @depth == 'cover_enum'
+ res.push("#{json_schema.cover_enum}% #{response.status}")
end
end
end
end
end