 ;; all good - generated slug is already used
 ;; all good - with slug
 ;; all good - unicode in the body
+;; no accept
+;; no content type
+;; no charset
 ;; conflicting reserved properties
-;; no accept
 ;; wrong accept
-;; no content type
 ;; wrong content type
-;; no charset
+;; no body
 ;; wrong charset
-;; no body
 ;; body not valid JSON
 ;; no name in body
 ;; slug specified in body is already used

      ;; Collection is empty?
      (collection/item-count c) => 0)

    (fact "when the generated slug is different than the provided name"
      ;; Create the collection
      (let [response (create-collection-with-api {:name long-unicode-name})]

      ;; Collection is empty?
      (collection/item-count c) => 0)

    ;; no charset - 201 Created
    ;; curl -i --header "Accept: application/vnd.fcms.collection+json;version=1" --header "Content-Type: application/vnd.fcms.collection+json;version=1" -X POST -d '{"name":"c"}' http://localhost:3000/
    (fact "without an Accept-Charset header"
      (let [response (create-collection-with-api {:Accept (mime-type :collection) :Accept-Charset "utf-8"} {:name c})]
        (:status response) => 201
