fat/haunt — pull request #9 by shama (2012-07-31 06:58:12+00:00)
Title: Ignore runtime errors and only fail on assertion errors

Currently if a test fails because of a runtime error such as a mistyped method name eg `issue.whoops()`, it will be assumed the test case has failed and trigger an action.

This PR adds the helper method `assertsFailed()` to only return assertion errors. This way users can only trigger an action if an assert fails, not just any failure.