Avoid noise on console when running tests

This commit is contained in:
Tom Hughes 2011-09-28 22:43:54 +01:00
parent d6c3fe5759
commit 036632bad3

View file

@ -54,7 +54,7 @@ class Changeset < ActiveRecord::Base
def self.from_xml(xml, create=false)
begin
p = XML::Parser.string(xml)
p = XML::Parser.string(xml, :options => XML::Parser::Options::NOERROR)
doc = p.parse
doc.find('//osm/changeset').each do |pt|