       "Issues can be referenced by their unique id and users know of it."))
 
 (defn inc-mock-count [mocks-called key]
-  (swap! mocks-called update-in [key] (fnil inc 0)))
+  (fn [& args]
+   (swap! mocks-called update-in [key] (fnil inc 0))))
 
 (defn fns-called-for-webhook-page
   [action]


(defn- body-of-home-page
  []
  (with-redefs [gh-waiting-room.github/viewable-issues
                (constantly [{:position "1"
                              :id "cldwalker/gh-waiting-room#1"
                              :url "https://github.com/cldwalker/gh-waiting-room/issues/1"}])

  (:require [clojure.test :refer :all]
            [io.pedestal.service.test :refer :all]
            [io.pedestal.service.http :as bootstrap]
            [gh-waiting-room.github :as github]
            [gh-waiting-room.service :as service]))

(def service
