3import Database.Bloodhound.Client
4import Network.HTTP.Conduit
5import qualified Network.HTTP.Types.Status as NHTS
9testServer = Server "http://localhost:9200"
11validateStatus resp expected = (NHTS.statusCode $ responseStatus resp) `shouldBe` (expected :: Int)
15 describe "index API" $ do
16 it "creates and then deletes the requested index" $ do
17 resp <- createIndex testServer defaultIndexSettings testIndex
18 deleteResp <- deleteIndex testServer testIndex
19 validateStatus resp 200
20 validateStatus deleteResp 200
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list