rename test module
This commit is contained in:
parent
beb284a818
commit
459074b331
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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…
Reference in a new issue