TESTS: less side effects plz

This commit is contained in:
2016-06-05 14:33:53 +02:00
parent 5d1c5cc2ce
commit bc348c7dd5
21 changed files with 262 additions and 54 deletions

View File

@@ -14,10 +14,6 @@ main :: IO ()
main =
hspecWith
defaultConfig { configFormatter = Just progress }
$ before_ up
$ after_ down
$ beforeAll_ createBaseTmpDir
$ afterAll_ deleteBaseTmpDir
$ Spec.spec
where
up = createTmpDir
down = deleteTmpDir