rspec/rspec-expectations — pull request #670 by chapmajs (2014-10-14 02:32:14+00:00)
Title: Removing explicit checking of object's private methods

This PR changes predicate matcher behavior to no longer inspect an object's private methods using a call to `private_methods`. Calling `respond_to?(:method, false)` should exclude private methods from searching. This does reduce verbosity when reporting on expectation failures; however, this will correct an issue by which RSpec causes side-effect errors when trying to call a predicate.