eugeneware/pecs — pull request #3 by kelvinj (2014-08-03 14:40:14+00:00)
Title: Add expect_to_throw() feature

Adds a new `expect_to_throw()` function that is used to tell pecs that you're expecting the spec to throw an exception. Saves needing to wrap this kind of code in a callback function.

Ideally I would provide a test case which I expect to fail, but not sure of how to do that with pecs.