def check_current_version(relation_id)
# get the current version
current_relation = with_controller(RelationsController.new) do
- get :read, :params => { :id => relation_id }
+ get :show, :params => { :id => relation_id }
assert_response :success, "can't get current relation #{relation_id}"
Relation.from_xml(@response.body)
end