   (fact "One event on stream" (elem-count ch) => 1)
   (dorun (take 10 (repeatedly
                    (fn []
-                     (post-one-event
+                      (post-one-event
                       m (str "photon-integration-test-" uuid))))))
   (let [ch (cl/with-muon m
              (cl/stream-subscription (str "muon://photon-integration-test-"

            [photon.config :as conf]
            [photon.filedb :as filedb]
            [photon.db :as db]
            [photon.muon :as muon])
  (:use midje.sweet))

(defn elem-count [ch]

    (Thread/sleep 20000)
    (fact "11011 events on stream" (elem-count ch) => 11011)))

