After seeing the rspec-mocks deprecation in action, I improved it:

https://github.com/rspec/rspec-mocks/commit/fd78578d0d65a7917701c4410a0eb9089ee6636f

Removing the trailing period is particularly important as the warning print `" is deprecated"` after it.  Using backticks around the method name is nice, too.