Cleanup the Relation.from_xml to come in line with the Way and Node versions. Includes tests. Bug fix for the previous tests.
This commit is contained in:
parent
3b063cfa19
commit
37df03a043
5 changed files with 78 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue