remove top level binding in test script

This commit is contained in:
Adam C. Baker
2014-10-09 14:14:53 -07:00
parent ef6b38ea1e
commit e5db9bc58e
+3 -6
View File
@@ -1,4 +1,3 @@
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
{-# LANGUAGE OverloadedStrings, QuasiQuotes #-}
module Feature.StructureSpec where
@@ -13,12 +12,10 @@ import Codec.Binary.Base64.String (encode)
import Data.Monoid ((<>))
import Data.String.Conversions (cs)
uName = "a user"
uPass = "nobody can ever know"
uRole = "dbapi_test"
spec :: Spec
spec = around withDatabaseConnection $
spec = let {uName = "a user"; uPass = "nobody can ever know";
uRole = "dbapi_test"} in
around withDatabaseConnection $
aroundWith (withUser uName uPass uRole) $ aroundWith withApp $ do
describe "GET /" $
it "lists views in schema" $