]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/changesets_controller_test.rb
Move xml gen. into view for (old) nodes, ways, relations, map
[rails.git] / test / controllers / api / changesets_controller_test.rb
index f9643685f25ae144bda51b75d8ab471956903d24..2d0e85c4366d73b9d71e6f2a3fcb9405a46eadef 100644 (file)
@@ -1768,7 +1768,7 @@ CHANGESET
         assert_response :success, "can't create a new node"
         node_id = @response.body.to_i
 
-        get :show, :params => { :id => node_id }
+        get :show, :params => { :id => node_id }, :format => "xml"
         assert_response :success, "can't read back new node"
         node_doc = XML::Parser.string(@response.body).parse
         node_xml = node_doc.find("//osm/node").first