thoughtbot/shoulda-matchers — pull request #531 by Adam89 (2014-05-26 15:06:40+00:00)
Title: Delegate to private methods

Issue #526
Previously if a class delegated to a private method the `matches?` method would
return `false`. This was because`respond_to?` always returns `false` for private methods, this commit fixes this by making `respond_to?` evaluate private methods.