         (wf/start (spec)) => nil 
         (wf/puppetize redis-type (spec)) => nil
         (wf/destroy (spec)) => nil
-        ))
-    )))
+        )))
+    ))
 
 

(ns celestial.integration.workflows
  "Testing workflows"
  (:require 
    [celestial.fixtures.core :refer  (with-defaults is-type? with-admin with-conf)]  
    [celestial.fixtures.data :refer (redis-type redis-prox-spec redis-ec2-spec local-conf)]  
    [celestial.fixtures.populate :refer (populate-system)]  
    [celestial.persistency.systems :as s]  
    [celestial.workflows :as wf])

        (wf/destroy (spec)) => nil
        ))

    (fact "aws provisioning workflows" :integration :ec2 :workflow
      (letfn [(spec [] (assoc (s/get-system 1) :system-id 1))] 
        (wf/create (spec)) => nil
        (wf/reload (spec)) => nil 
        (wf/destroy (spec)) => nil
        ))) 

    (with-state-changes [(before :facts (do (populate-system redis-type redis-ec2-centos)))]
     (fact "aws centos provisioning" :integration :ec2 :workflow
      (letfn [(spec [] (assoc (s/get-system 1) :system-id 1))] 
        (wf/create (spec)) => nil
        (wf/stop (spec)) => nil 
