     (it "should correctly unnest DTs WITHOUT default middleware"
 
       (let [dt [(into [["api"]] simple-dispatch-table)]]
-        (should= [[:get  ["api" "foo"]     'example.foo/index  `*default-middleware*]
-                  [:post ["api" "foo"]     'example.foo/create `*default-middleware*]
-                  [:get  ["api" "foo" :id] 'example.foo/show   `*default-middleware*]]
+        (should= [[:get  ["api" "foo"]     'example.foo/index  `default-middleware]
+                  [:post ["api" "foo"]     'example.foo/create `default-middleware]
+                  [:get  ["api" "foo" :id] 'example.foo/show   `default-middleware]]
           (dispatcher/unnest-dispatch-table dt))))
 
     (it "should correctly unnest DTs WITH default middleware and empty context pathvec"
 
-      (let [dt [(into [[] `*default-middleware*]
+      (let [dt [(into [[] `default-middleware]
                   (mapv pop simple-dispatch-table))]]
         (should= simple-dispatch-table
           (dispatcher/unnest-dispatch-table dt))))
 
     (it "should correctly unnest DTs WITH default middleware and non-empty context pathvec"
 
-      (let [dt [(into [["api"] `*default-middleware*]
+      (let [dt [(into [["api"] `default-middleware]
                   (mapv pop simple-dispatch-table))]]
-        (should= [[:get  ["api" "foo"]     'example.foo/index  `*default-middleware*]
-                  [:post ["api" "foo"]     'example.foo/create `*default-middleware*]
-                  [:get  ["api" "foo" :id] 'example.foo/show   `*default-middleware*]]
+        (should= [[:get  ["api" "foo"]     'example.foo/index  `default-middleware]
+                  [:post ["api" "foo"]     'example.foo/create `default-middleware]
+                  [:get  ["api" "foo" :id] 'example.foo/show   `default-middleware]]
           (dispatcher/unnest-dispatch-table dt)))))
 
   (describe "compile-dispatch-table"


      (let [dt (set (dispatcher/unnest-dispatch-table
                      (dispatcher/namespace-dispatch-table
                        ["foo"] 'example.foo `*default-middleware*)))]
        (should= (set simple-dispatch-table) dt))))

  (describe "compiled handlers"

           (defn create [x]
             (resp/response (str "Created " x))))))

(def default-middleware identity)

(def simple-dispatch-table
  [[:get  ["foo"]     'example.foo/index  `default-middleware]
   [:post ["foo"]     'example.foo/create `default-middleware]
   [:get  ["foo" :id] 'example.foo/show   `default-middleware]])

(describe "io.aviso.rook.dispatcher"

