Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Expectation#inspect is too verbose #122

Closed
floehopper opened this Issue Jan 2, 2013 · 4 comments

Comments

Projects
None yet
2 participants
Owner

floehopper commented Jan 2, 2013

This was originally reported as part of #118.

In IRB or a debugger when calling Mock#expects, Mock#stubs, or any of the other methods that return an instance of an Expectation, the output is overly verbose.

Consider hiding the instance variables and doing something like Expectation#mocha_inspect.

@ghost ghost assigned floehopper Jan 3, 2013

@floehopper floehopper closed this in b16ed30 Jan 4, 2013

Owner

floehopper commented Jan 4, 2013

@stackedsax I've attempted to fix this in b16ed30. It would be great if you could let me know whether it solves your problem. Thanks.

I'll give it a whirl -- it may not be until later this weekend before I get a chance, though.

Beautiful! 👍

Owner

floehopper commented Jan 8, 2013

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment