mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
21 lines
394 B
Haskell
21 lines
394 B
Haskell
{-# LANGUAGE TypeFamilies #-}
|
|
|
|
module Handler.AppSpec (spec) where
|
|
|
|
import Startlude
|
|
import TestImport
|
|
|
|
spec :: Spec
|
|
spec = do
|
|
describe "GET /apps" $ do
|
|
withApp $ it "returns list of apps" $ do
|
|
request $ do
|
|
setMethod "GET"
|
|
setUrl ("/apps" :: Text)
|
|
printBody
|
|
bodyContains ""
|
|
statusIs 200
|
|
|
|
|
|
|