]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/node_test.rb
Cleanup the Relation.from_xml to come in line with the Way and Node versions. Include...
[rails.git] / test / unit / node_test.rb
index 11b745f5ed649620c54af4449817a63b0b0184f4..8e71233e64eb59b9cd76932303443511692a9e4f 100644 (file)
@@ -267,6 +267,6 @@ class NodeTest < ActiveSupport::TestCase
     message_update = assert_raise(OSM::APIBadXMLError) {
       Node.from_xml(no_text, false)
     }
     message_update = assert_raise(OSM::APIBadXMLError) {
       Node.from_xml(no_text, false)
     }
-    assert_match /Must specify a string with one or more characters/, message_create.message
+    assert_match /Must specify a string with one or more characters/, message_update.message
   end
 end
   end
 end