Skip to content

Fix confusing error message.

gitlab-qa-bot requested to merge fix_confusing_error_message into master

Created by: myronmarston

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.

Merge request reports