github/specta — pull request #1 by joshaber (2012-11-19 20:55:23+00:00)
Title: Slightly better shared example support

So (one of) the terrible things about the current state of shared examples is that they don't give you an opportunity to use the values of `beforeEach` in the shared examples.

This fixes that by passing a dictionary-yielding block instead of a dictionary into the shared examples. That way the values don't have to resolve until they're actually needed, when the test starts running, instead of before any even begins.