                {:name "Some Job" :key "value"})))))
 
   (testing "if a jobs added files should change"
-    (let [path (join test-dir "add-job-config")]
-      (fs/copy-dir (io/resource "fixtures/spec-config") path)
+    (let [path (join test-dir "add-job-config")
+          repo (make-config-repo path)]
       (let [server-config (get-server-config path)
             job-config (get-job-config path server-config)
             new-job-config (atom {:name "New Job"})]

(deftest test-get-server-config

  (testing "given a file it populates"
    (let [path (join test-dir "server-config")]
      (fs/mkdir path)
      (fs/copy (io/resource "fixtures/server.json") (join path "server.json"))
      (let [server-config @(get-server-config path)]
        (is (= (:jobs server-config) [])))))

  (testing "nil when file is non-existant"
    (let [path (join test-dir "liuhgq4")]

        (is (not (fs/directory? (join path "some-id")))))))

  (testing "when a job is added, changes should be reflected in the fs"
    (let [path (join test-dir "add-job-and-change-config")
          repo (make-config-repo path)]
      (let [server-config (get-server-config path)
            job-config (get-job-config path server-config)
            new-job-config (atom {:name "New Job"})]
