thoughtbot/shoulda-matchers — pull request #502 by mcmire (2014-04-20 00:03:22+00:00)
Title: Add a small stubbing library

This provides a robust solution for temporarily stubbing (and
unstubbing) methods. It will be internally by the strong parameters and
delegation matchers.