resetDb once for each set of tests.
This commit is contained in:
@@ -8,7 +8,7 @@ import Network.Wai.Test (SResponse(simpleHeaders,simpleStatus))
|
||||
import SpecHelper
|
||||
|
||||
spec :: Spec
|
||||
spec = before resetDb $ around withApp $
|
||||
spec = beforeAll resetDb $ around withApp $
|
||||
describe "GET /items" $ do
|
||||
|
||||
context "without range headers" $
|
||||
|
||||
Reference in New Issue
Block a user