- content current_nodes(:visible_node).to_xml
- put :update, :id => current_nodes(:visible_node).id
+ private_user = create(:user, :data_public => false)
+ private_node = create(:node, :changeset => create(:changeset, :user => private_user))
+ user = create(:user)
+ node = create(:node, :changeset => create(:changeset, :user => user))
+
+ content node.to_xml
+ put :update, :id => node.id