rspec/rspec-mocks — pull request #184 by myronmarston (2012-09-18 23:29:55+00:00)
Title: Fix confusing error message.

When a class method was mocked and it was called an extra time with the wrong arguments, the error being raised was:

"NoMethodError: undefined method `bar' for Object:Class"

...which was very confusing.