 
     (fact "a collection doesn't exist"
           (let [response (api-request :get "/not-here/i" {
-                                                   :headers {
-                                                             :Accept (mime-type :item)
-                                                             }})]
+                                                   :headers {:Accept (mime-type :item)}})]
             (:status response) => 404
             (response-mime-type response) => (mime-type :text)
             (let [item (body-from-response response)]

    (fact "a normal item with the wrong Accept type"
      (item/create-item e i {:description "An item."})
      (let [response (api-request :get "/e/i"
                                  {:headers {
                                             :Accept (mime-type :collection)
                                             :Content-Type (mime-type :item)}})]
        (:status response) => 406
        (response-mime-type response) => (mime-type :text)

          (item/create-item e i {:description "An item."})
          
          ;; Retrieve the item
          (let [response (api-request :get "/e/i" {:headers {:Accept (mime-type :item)
                                                             :Content-Type (mime-type :item)}})]
            (:status response) => 200
            (response-mime-type response) => (mime-type :item)
            (json? response) => true
