lib/fakes3/xml_adapter.rb in plntr-fakes3-1.0.0.pre.10alpha47 vs lib/fakes3/xml_adapter.rb in plntr-fakes3-1.0.0.pre.10alpha48

- old
+ new

@@ -229,10 +229,10 @@ output = "" xml = Builder::XmlMarkup.new(:target => output) xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8" xml.DeleteResult { |lst| results.each do |res| - if res[:error] + if not res[:code].nil? lst.Error { |err| err.Key(res[:key]) err.Code(res[:code]) err.Code(res[:message]) }