X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c76e60f052051a35fe7e9044969337cd88e5b1fd..f492a1b709b74f0bb36821864090657f6026f9f2:/test/functional/node_controller_test.rb diff --git a/test/functional/node_controller_test.rb b/test/functional/node_controller_test.rb index bc9ffa489..8d019bf79 100644 --- a/test/functional/node_controller_test.rb +++ b/test/functional/node_controller_test.rb @@ -276,8 +276,7 @@ class NodeControllerTest < ActionController::TestCase ## # parse some xml def xml_parse(xml) - parser = XML::Parser.new - parser.string = xml + parser = XML::Parser.string(xml) parser.parse end end