lib/cucumber/formatter/junit.rb in cucumber-0.8.7 vs lib/cucumber/formatter/junit.rb in cucumber-0.9.0

- old
+ new

@@ -120,11 +120,11 @@ #puts "FAILED:!!#{failed}" if status == :passed || failed @builder.testcase(:classname => classname, :name => name, :time => "%.6f" % duration) do if failed @builder.failure(:message => "#{status.to_s} #{name}", :type => status.to_s) do - @builder.text! @output - @builder.text!(format_exception(exception)) if exception + @builder.cdata! @output + @builder.cdata!(format_exception(exception)) if exception end @failures += 1 end end @tests += 1