lib/atp/formatters/basic.rb in atp-0.8.0 vs lib/atp/formatters/basic.rb in atp-1.0.0

- old
+ new

@@ -11,10 +11,12 @@ def on_test(node) if node.find(:name) @output += node.find(:name).value else - @output += node.find(:object).value['Test'] + obj = node.find(:object).value + obj = obj['Test'] unless obj.is_a?(String) + @output += obj end @output += ' F' if node.find(:failed) @output += "\n" end