fixed ref_spec.rb

the last change didn't take into account that we introduced a new reference type "partial"