Mocha::ExpectationError < Exception
Reported by James Mead | January 1st, 2009 @ 03:22 PM
Consider making Mocha::ExpectationError derive from Exception instead of StandardError so that it doesn't get caught by accident in a standard rescue clause.
Comments and changes to this ticket
-
James Mead November 12th, 2010 @ 11:27 AM
- State changed from new to open
- Assigned user set to James Mead
- Tag changed from exception, rescue to exception, feature-request, rescue
- Milestone order changed from 0 to 0
This has been fixed [1] and tests added [2].
See [3] for more details.
[1] https://github.com/floehopper/mocha/commit/fdcb1503906293745444d8bf... [2] https://github.com/floehopper/mocha/commit/e2c5f3e06e459356a36e04a2... [3] https://github.com/floehopper/mocha/issues#issue/15
-
James Mead November 12th, 2010 @ 11:27 AM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A mocking & stubbing library for Ruby.
* <a href="http://github.com/floehopper/mocha">GitHub repository</a>
* <a href="http://mocha.rubyforge.org">Documentation</a>
* <a href="http://groups.google.com/group/mocha-developer">Mailing List</a>
People watching this ticket
Referenced by
- 70 Mock#to_ary and Array#flatten problem Thanks for starting the discussion on the Ruby mailing li...