aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Squeal/PostgreSQL
diff options
context:
space:
mode:
Diffstat (limited to 'src/Squeal/PostgreSQL')
-rw-r--r--src/Squeal/PostgreSQL/Hspec.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Squeal/PostgreSQL/Hspec.hs b/src/Squeal/PostgreSQL/Hspec.hs
index d065048..d96d9a2 100644
--- a/src/Squeal/PostgreSQL/Hspec.hs
+++ b/src/Squeal/PostgreSQL/Hspec.hs
@@ -59,7 +59,7 @@ createTempDB = do
59 59
60-- | Start a temporary @postgres@ process and create a pool of connections to it 60-- | Start a temporary @postgres@ process and create a pool of connections to it
61setupDB 61setupDB
62 :: AlignedList (Migration (Terminally PQ IO)) schema0 schema 62 :: Migratory p => AlignedList (Migration p) schema0 schema
63 -> Fixtures schema 63 -> Fixtures schema
64 -> IO (SquealContext schema) 64 -> IO (SquealContext schema)
65setupDB migration fixtures = do 65setupDB migration fixtures = do
@@ -79,7 +79,7 @@ setupDB migration fixtures = do
79 79
80-- | Drop all the connections and shutdown the @postgres@ process 80-- | Drop all the connections and shutdown the @postgres@ process
81teardownDB 81teardownDB
82 :: AlignedList (Migration (Terminally PQ IO)) schema0 schema 82 :: Migratory p => AlignedList (Migration p) schema0 schema
83 -> TestDB a 83 -> TestDB a
84 -> IO () 84 -> IO ()
85teardownDB migration TestDB {..} = do 85teardownDB migration TestDB {..} = do
@@ -119,7 +119,7 @@ itDB msg action = it msg $ void . withDB action
119-- 119--
120-- hook for stopping a db. 120-- hook for stopping a db.
121describeDB 121describeDB
122 :: AlignedList (Migration (Terminally PQ IO)) schema0 schema 122 :: Migratory p => AlignedList (Migration p) schema0 schema
123 -> Fixtures schema 123 -> Fixtures schema
124 -> String 124 -> String
125 -> SpecWith (SquealContext schema) 125 -> SpecWith (SquealContext schema)