]> git.openstreetmap.org Git - rails.git/blobdiff - test/unit/way_test.rb
Cleanup the Relation.from_xml to come in line with the Way and Node versions. Include...
[rails.git] / test / unit / way_test.rb
index afbe36252161fb66b58c2f28aeb18f58488a5830..bdf4ab3657875bc7b716e30531b8181afbb5e1b5 100644 (file)
@@ -94,6 +94,6 @@ class WayTest < ActiveSupport::TestCase
     message_update = assert_raise(OSM::APIBadXMLError) {
       Way.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