def do_redact_relation(relation, redaction)
get :version, :id => relation.relation_id, :version => relation.version
- assert_response :success, "should be able to get version #{relation.version} of node #{relation.relation_id}."
+ assert_response :success, "should be able to get version #{relation.version} of relation #{relation.relation_id}."
# now redact it
post :redact, :id => relation.relation_id, :version => relation.version, :redaction => redaction.id
def do_redact_way(way, redaction)
get :version, :id => way.way_id, :version => way.version
- assert_response :success, "should be able to get version #{way.version} of node #{way.way_id}."
+ assert_response :success, "should be able to get version #{way.version} of way #{way.way_id}."
# now redact it
post :redact, :id => way.way_id, :version => way.version, :redaction => redaction.id