Change :vattr= to :cattr= in respond_to? test

This should be testing for cattr= not vattr=