Browse Source

rename test module

master
nek0 9 months ago
parent
commit
459074b331
  1. 2
      mateamt.cabal
  2. 4
      test/AppMainSpec.hs

2
mateamt.cabal

@ -140,6 +140,6 @@ test-suite spec
, postgresql-simple
other-modules: TestUtil
, Spec
, MainSpec
, AppMainSpec
default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover

4
test/MainSpec.hs → test/AppMainSpec.hs

@ -1,9 +1,8 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PackageImports #-}
module MainSpec where
module AppMainSpec where
import Database.PostgreSQL.Transact
import Database.PostgreSQL.Simple (Only(..))
import Test.Hspec
@ -14,6 +13,7 @@ import Control.Monad.IO.Class (liftIO)
import qualified "mateamt" Util as LibUtil
import TestUtil
spec :: Spec
spec = describeDB (const $ return ()) "Initialize DB" $
itDB "call initialization script" $ do
conn <- getConnection
Loading…
Cancel
Save