Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (fact "about homepage"
- (-> (session app)
- (request "/") ;; {:response {:status 200}}
- ;; how to assert that status is 200 in here?
- )
- ;; so that I don't have to use
- (fact "about homepage"
- (let [app-state (-> (session app) (request "/"))]
- (-> app-state :response :status) => 200))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement