From 58249742c147d6c39277033d3a8bace148ccead2 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Wed, 9 Sep 2015 12:44:43 +0300 Subject: [PATCH] Update doc generation --- spec/support/epp.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/support/epp.rb b/spec/support/epp.rb index b14eb79a7..24a86e3d9 100644 --- a/spec/support/epp.rb +++ b/spec/support/epp.rb @@ -79,7 +79,7 @@ module Epp res = parse_response(server.send_request(data)) if res - log(data, res[:parsed]) + log(data, res[:raw]) if validate_output && @xsd @xsd.validate(Nokogiri(res[:raw])).each do |error| fail Exception.new, error.to_s @@ -364,7 +364,7 @@ module Epp def log(req, res) return unless ENV['EPP_DOC'] puts "REQUEST:\n\n```xml\n#{Nokogiri(req)}```\n\n" - puts "RESPONSE:\n\n```xml\n#{res}```\n\n" + puts "RESPONSE:\n\n```xml\n#{Nokogiri(res)}```\n\n" end end