X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d7fd3fb6e571e106b6f9613687e657299104d131..c273b4b1faa6dd3d8aba3d5556605f683326948a:/test/functional/changeset_controller_test.rb diff --git a/test/functional/changeset_controller_test.rb b/test/functional/changeset_controller_test.rb index a6eeaeeeb..ce739b96c 100644 --- a/test/functional/changeset_controller_test.rb +++ b/test/functional/changeset_controller_test.rb @@ -397,6 +397,7 @@ EOF post :upload, :id => 2 assert_response :precondition_failed, "shouldn't be able to upload a invalid deletion diff: #{@response.body}" + assert_equal "Precondition failed: Way 3 still used by relation 1.", @response.body # check that nothing was, in fact, deleted assert_equal true, Node.find(current_nodes(:node_used_by_relationship).id).visible