implementing permissions to companies

This commit is contained in:
Bryce Covert
2017-12-20 09:00:45 -08:00
parent 2af3752041
commit ef252de79d
5 changed files with 16 additions and 29 deletions

View File

@@ -1,14 +0,0 @@
(ns auto-ap.handler-test
(:require [clojure.test :refer :all]
[ring.mock.request :as mock]
[auto-ap.handler :refer :all]))
(deftest test-app
(testing "main route"
(let [response (app (mock/request :get "/"))]
(is (= (:status response) 200))
(is (= (:body response) "Hello World"))))
(testing "not-found route"
(let [response (app (mock/request :get "/invalid"))]
(is (= (:status response) 404)))))