hspec-pg-transact-0.1.0.0: Helpers for creating database tests with hspec and pg-transact

Safe HaskellNone
LanguageHaskell2010

Test.Hspec.DB

Documentation

data TestDB Source #

Constructors

TestDB 

Fields

withPool :: TestDB -> (Connection -> IO a) -> IO a Source #

withDB :: DB a -> TestDB -> IO a Source #

runDB :: TestDB -> DB a -> IO a Source #