rspec/rspec-mocks — pull request #537 by xaviershay (2014-01-25 04:33:26+00:00)
Title: Better error message when calling private method on a verifying double.

Fixes #531.

I didn't include a test for object doubles, since it doesn't cover any extra code paths and the behaviour isn't that important. That isn't a strongly held opinion though.

R @myronmarston