[openstreetmap/openstreetmap-website] JSON output nodes, ways, relations, map (#2485)
mmd
notifications at github.com
Wed Jan 22 15:14:08 UTC 2020
mmd-osm commented on this pull request.
> @@ -23,6 +23,82 @@ def test_routes
{ :path => "/api/0.6/map", :method => :get },
{ :controller => "api/map", :action => "index" }
)
+ assert_routing(
+ { :path => "/api/0.6/map.json", :method => :get },
+ { :controller => "api/map", :action => "index", :format => "json" }
+ )
+ end
+
+ ##
+ # test http accept headers
+ def test_http_accept_header
+ node = create(:node, :lat => 7, :lon => 7)
Ok, I can remove those, np.
--
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/2485#discussion_r369619044
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200122/4eb50438/attachment-0001.htm>
More information about the rails-dev
mailing list