mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 10:21:51 +00:00
further test setup with hie
This commit is contained in:
@@ -6,15 +6,11 @@ import Startlude
|
||||
import TestImport
|
||||
|
||||
spec :: Spec
|
||||
spec = do
|
||||
describe "GET /apps" $ do
|
||||
spec = describe "GET /apps" $
|
||||
withApp $ it "returns list of apps" $ do
|
||||
request $ do
|
||||
setMethod "GET"
|
||||
setUrl ("/apps" :: Text)
|
||||
printBody
|
||||
bodyContains ""
|
||||
statusIs 200
|
||||
|
||||
|
||||
|
||||
bodyContains "bitcoind"
|
||||
bodyContains "version: 0.18.1"
|
||||
statusIs 200
|
||||
Reference in New Issue
Block a user