lib/fitting/report/console.rb in fitting-2.15.0 vs lib/fitting/report/console.rb in fitting-2.16.0
- old
+ new
@@ -13,10 +13,10 @@
doc_res = @prefixes_details.inject('') do |res, prefix_details|
res += "#{prefix_details[:name]}\n"
@tests_without_actions += prefix_details[:actions][:tests_without_actions]
res += prefix_details[:actions][:actions_details].inject('') do |res_actions, action|
res_actions += "#{action[:method]}\t#{action[:path]}"
- tab = "\t" * ((3 - action[:path].size / 8) + 3)
+ tab = "\t" * (8 - action[:path].size / 8)
@tests_without_responses += action[:responses][:tests_without_responses]
res_actions += tab + action[:responses][:responses_details].inject('') do |res_responses, response|
@good = false if response[:combinations][:cover_percent] != '100%'
res_responses += " #{response[:combinations][:cover_percent]} #{response[:method]}"
end