X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/04dbf32b73f38adec4d1209bbde87510f279fbe7..959442d087b9b25fbec9c78ec122106b82d887dd:/test/functional/relation_controller_test.rb diff --git a/test/functional/relation_controller_test.rb b/test/functional/relation_controller_test.rb index 10762f48d..19b3617fc 100644 --- a/test/functional/relation_controller_test.rb +++ b/test/functional/relation_controller_test.rb @@ -433,10 +433,10 @@ class RelationControllerTest < ActionController::TestCase assert_response :bad_request # try to delete without specifying a changeset - content "" + content "" delete :delete, :id => current_relations(:visible_relation).id assert_response :bad_request - assert_match(/You are missing the required changeset in the relation/, @response.body) + assert_match(/Changeset id is missing/, @response.body) # try to delete with an invalid (closed) changeset content update_changeset(current_relations(:visible_relation).to_xml,