#65 ✓resolved
James Mead

Improve documentation for Expectation#raises

Reported by James Mead | March 17th, 2010 @ 07:06 PM

You can pass an instance of the exception as an alternative to the exception class. This is particularly useful when you have an exception with a constructor with multiple arguments.

Comments and changes to this ticket

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.

New-ticket Create new ticket

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

Tags

Pages