[openstreetmap/openstreetmap-website] Supporting multiple API versions (#2353)
Andy Allan
notifications at github.com
Fri Aug 30 11:10:10 UTC 2019
gravitystorm commented on this pull request.
> - <member type='relation' role='some' ref='#{relation.id}'/>
- </relation>
- </create>
- </osmChange>
+ all_api_versions.each do |api_version|
+ user = create(:user)
+ changeset = create(:changeset, :user => user)
+ node = create(:node)
+ way = create(:way_with_nodes, :nodes_count => 2)
+ relation = create(:relation)
+
+ basic_authorization user.email, "test"
+
+ # simple diff to create a node way and relation using placeholders
+ diff = <<CHANGESET.strip_heredoc
+ <osmChange>
Yeah, I noticed that during the refactoring, but lets leave that for now since we're not planning any changes to the osmchange format (afaik).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2353#discussion_r319465644
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190830/00bc2590/attachment.html>
More information about the rails-dev
mailing list