I think it would be better to change those specs rather than overriding a core function. Spec'ing that they receive `warn_deprecation` seems more accurate as well.