assert_response :unauthorized
## Then try with the private user, to make sure that you get a forbidden
assert_response :unauthorized
## Then try with the private user, to make sure that you get a forbidden
# this shouldn't work, as we should need the payload...
delete :delete, :params => { :id => relation.id }
# this shouldn't work, as we should need the payload...
delete :delete, :params => { :id => relation.id }
# this shouldn't work, as we should need the payload...
delete :delete, :params => { :id => relation.id }
# this shouldn't work, as we should need the payload...
delete :delete, :params => { :id => relation.id }
way1 = create(:way_with_nodes, :nodes_count => 2)
way2 = create(:way_with_nodes, :nodes_count => 2)
way1 = create(:way_with_nodes, :nodes_count => 2)
way2 = create(:way_with_nodes, :nodes_count => 2)
# that the changeset bounding box is +bbox+.
def check_changeset_modify(bbox)
## First test with the private user to check that you get a forbidden
# that the changeset bounding box is +bbox+.
def check_changeset_modify(bbox)
## First test with the private user to check that you get a forbidden
# create a new changeset for this operation, so we are assured
# that the bounding box will be newly-generated.
# create a new changeset for this operation, so we are assured
# that the bounding box will be newly-generated.
# create a new changeset for this operation, so we are assured
# that the bounding box will be newly-generated.
# create a new changeset for this operation, so we are assured
# that the bounding box will be newly-generated.