Feature tests pass, unit test does not
This commit is contained in:
+6
-2
@@ -1,10 +1,14 @@
|
||||
module Main where
|
||||
|
||||
import Database.HDBC (runRaw, disconnect)
|
||||
import Test.Hspec
|
||||
import Spec
|
||||
import SpecHelper (openConnection, loadFixture)
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
putStrLn "before spec"
|
||||
c <-openConnection
|
||||
runRaw c "drop schema if exists \"1\" cascade"
|
||||
loadFixture "schema" c
|
||||
disconnect c
|
||||
hspec spec
|
||||
putStrLn "after spec"
|
||||
|
||||
Reference in New Issue
Block a user