delete :delete, :id => current_relations(:visible_relation).id
assert_response :bad_request
delete :delete, :id => current_relations(:visible_relation).id
assert_response :bad_request
# try to delete with an invalid (closed) changeset
content update_changeset(current_relations(:visible_relation).to_xml,
# try to delete with an invalid (closed) changeset
content update_changeset(current_relations(:visible_relation).to_xml,