petejkim/specta — pull request #27 by rhgills (2013-06-18 19:36:21+00:00)
Title: Fix OCHamcrest inside an example group

OCHamcrest captures self, assuming that it is a SenTestCase. When called from within an example group, this doesn't fail the correct test case when being run and instead crashes.

Adding `failWithException:` to `SPTSharedExampleGroups.m`, which passes through to the current test case, makes hamcrest matchers work properly in example groups.