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 = do
|
||||
void $ readProcess "psql" ["-a", "-f", "test/fixtures/database.sql"] []
|
||||
void $ readProcess "psql" ["-d", "postgres", "-a", "-f", "test/fixtures/database.sql"] []
|
||||
loadFixture "roles"
|
||||
loadFixture "schema"
|
||||
resetDb
|
||||
|
||||
Reference in New Issue
Block a user