hspec/hspec — pull request #132 by k-bx (2013-07-25 14:30:30+00:00)
Title: Add addSetUp :: IO () -> Spec -> Spec method.

This method goes through every test-case and adds "setUp" action before that.

This method is needed as part of (somewhat dumb) implementation of flushing a database between tests in yesod. Description of method is here: https://github.com/yesodweb/yesod/wiki/Flushing-database-between-tests.

Thanks!