You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
501 B
Clojure
17 lines
501 B
Clojure
(ns asciinema.endpoint.example-test
|
|
(:require [com.stuartsierra.component :as component]
|
|
[clojure.test :refer :all]
|
|
[kerodon.core :refer :all]
|
|
[kerodon.test :refer :all]
|
|
[shrubbery.core :as shrub]
|
|
[asciinema.endpoint.example :as example]))
|
|
|
|
(def handler
|
|
(example/example-endpoint {}))
|
|
|
|
(deftest smoke-test
|
|
(testing "example page exists"
|
|
(-> (session handler)
|
|
(visit "/example")
|
|
(has (status? 200) "page exists"))))
|