fixed ref_spec.rb

the last change didn't take into account that we introduced a new reference type "partial"
What's a 'P' ref type?