rspec/rspec-mocks — pull request #598 by myronmarston (2014-02-23 06:11:33+00:00)
Title: [Not ready to merge] Remove `TestDouble.extend_onto`.

This was added in #117 to support using a module
as a pure test double by extending `TestDouble`
onto the module. Since then, I've realized we can
get the same behavior by subclassing module:

class MyModuleTestDouble < Module
include TestDouble
end

...and that's what we do for class verifying doubles now.

Given that, there's no need to keep this API around anymore.

I'll be following up with a 2.99 deprecation PR (which is why I marked this not ready to merge).