Adds -d postgrest to setup database step in SpecHelper
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ withApp config perform = do
|
|||||||
|
|
||||||
setupDb :: IO ()
|
setupDb :: IO ()
|
||||||
setupDb = do
|
setupDb = do
|
||||||
void $ readProcess "psql" ["-a", "-f", "test/fixtures/database.sql"] []
|
void $ readProcess "psql" ["-d", "postgres", "-a", "-f", "test/fixtures/database.sql"] []
|
||||||
loadFixture "roles"
|
loadFixture "roles"
|
||||||
loadFixture "schema"
|
loadFixture "schema"
|
||||||
resetDb
|
resetDb
|
||||||
|
|||||||
Reference in New Issue
Block a user