fixed ref_spec.rb

the last change didn't take into account that we introduced a new reference type "partial"
Sure, a ticket would be good.

The general issue is that we don't have any events at all about chunk-level changes.  At present we just wipe all the references and start fresh.  Would certainly be good to improve that.