Refactors tests to use new fixtures and remove some haskell functions that wont be necessary anymore
This commit is contained in:
@@ -9,7 +9,7 @@ import Network.Wai.Test (SResponse(simpleHeaders,simpleStatus))
|
||||
import SpecHelper
|
||||
|
||||
spec :: Spec
|
||||
spec = beforeAll (clearTable "items" >> createItems 15) . afterAll_ (clearTable "items")
|
||||
spec = beforeAll resetDb
|
||||
. around (withApp cfgDefault) $
|
||||
describe "GET /items" $ do
|
||||
|
||||
|
||||
Reference in New Issue
Block a user