]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/way_controller_test.rb
Allow the log location to be changed in production
[rails.git] / test / functional / way_controller_test.rb
index 6b58137aee0a011aa37ff3db355c7b63ab5ed8e9..3452be6d04a120ed771a2a1a1b05367e36117ab0 100644 (file)
@@ -210,7 +210,7 @@ class WayControllerTest < ActionController::TestCase
     assert_response :forbidden
     
     # Now try without having a changeset
-    content "<osm><way id='#{current_ways(:visible_way).id}'></osm>"
+    content "<osm><way id='#{current_ways(:visible_way).id}'/></osm>"
     delete :delete, :id => current_ways(:visible_way).id
     assert_response :forbidden
     
@@ -261,7 +261,7 @@ class WayControllerTest < ActionController::TestCase
     assert_response :bad_request
     
     # Now try without having a changeset
-    content "<osm><way id='#{current_ways(:visible_way).id}'></osm>"
+    content "<osm><way id='#{current_ways(:visible_way).id}'/></osm>"
     delete :delete, :id => current_ways(:visible_way).id
     assert_response :bad_request