Add global before/after hspec hook in test/Main.hs

This commit is contained in:
Joe Nelson
2014-08-17 21:21:47 -07:00
parent f42f7769e1
commit 9df8a7b99b
5 changed files with 14 additions and 10 deletions
-3
View File
@@ -10,9 +10,6 @@ import SpecHelper
import Network.HTTP.Types
import Dbapi (app)
main :: IO ()
main = hspec spec
spec :: Spec
spec = with (prepareAppDb "schema" $ app cfg) $ do
describe "GET /" $ do