Permalink
Browse files

Circle backend trial X

  • Loading branch information...
swistak35 committed Mar 5, 2016
1 parent 57a5b7b commit 56fc35c96663bfbb43bd94806d97b837f31938b7
Showing with 4 additions and 4 deletions.
  1. +1 −1 backend/config/test-settings.yml
  2. +2 −2 backend/test/TestImport.hs
  3. +1 −1 circle.yml
@@ -1,2 +1,2 @@
database:
database: symmetrical_chainsaw_db_test
database: "_env:PGDATABASE:symmetrical_chainsaw_db_test"
@@ -11,7 +11,7 @@ import Foundation as X
import Model as X
import Test.Hspec as X
import Text.Shakespeare.Text (st)
import Yesod.Default.Config2 (ignoreEnv, loadAppSettings)
import Yesod.Default.Config2 (useEnv, loadAppSettings)
import Yesod.Test as X
runDB :: SqlPersistM a -> YesodExample App a
@@ -28,7 +28,7 @@ withApp = before $ do
settings <- loadAppSettings
["config/test-settings.yml", "config/settings.yml"]
[]
ignoreEnv
useEnv
foundation <- makeFoundation settings
wipeDB foundation
logWare <- liftIO $ makeLogWare foundation
View
@@ -17,5 +17,5 @@ dependencies:
test:
post:
- cd backend stack test
- cd backend && PGUSER=ubuntu PGDATABASE=circle_test stack test
# - cd frontend && npm run test

0 comments on commit 56fc35c

Please sign in to comment.