         (p/get-type "redis") => {:puppet-module "bar"}
         (s/get-system "1") => {:type "redis"}
         (s/get-system "1" :env)  => :dev
-        (jobs/enqueue "stage" {:identity "1" :args [{:puppet-module "bar"} {:system-id 1 :type "redis"}] :tid nil :env :dev}) => nil))
+        (jobs/enqueue "stage" {:identity "1" :args [{:puppet-module "bar"} {:system-id 1 :type "redis"}] :tid nil :env :dev :user nil}) => nil))
 
 (fact "creation job"
       (non-sec-app (request :post "/jobs/create/1"))  => (contains {:status 200})

        (s/system-exists? "1") => true
        (s/get-system "1")  => {}
        (s/get-system "1" :env)  => :dev
        (jobs/enqueue "reload" {:identity "1" :args [{:system-id 1}] :tid nil :env :dev}) => nil))

    [celestial.jobs :as jobs]
    [celestial.persistency.systems :as s] 
    [celestial.persistency :as p]))

(def non-sec-app (app false))

