lib/soaspec/exchange_handlers/rest_handler.rb in soaspec-0.2.28 vs lib/soaspec/exchange_handlers/rest_handler.rb in soaspec-0.2.29

- old
+ new

@@ -105,10 +105,10 @@ @resource_used.send(test_values[:method].to_s, test_values[:params]) end rescue RestClient::ExceptionWithResponse => e response = e.response end - Soaspec::SpecLogger.info(["response_headers: #{response.headers}", "response_body: #{response}"]) + Soaspec::SpecLogger.info("response: \n headers: #{response&.headers}\n body: #{response}\n") after_response(response, self) response end # Add values to here when extending this class to have default REST options.