                          :process
                          :exit-code)))
             (is (empty? @email))
-            (is (not (empty? (slack-msg))))))))))
+            (is (= (:color (slack-msg)) "good"))))))))
 
 (s/deftest execution-with-slack-overrides
   (testing "slack overrides:"

      json/decode
      keywordize-keys
      :attachments
      first
      :title))

(defn fake-slack-send [opts ctx]
  (reset! slack (slack/render opts ctx)))

              (is (.startsWith subj "FAILURE"))
              (is (re-find (re-pattern (-> res :store-result :build-doc :id))
                           subj)))
            (is (.contains (:title (slack-msg)) "FAILURE")))))
      (testing "build success: default notification settings"
        (reset! email [])
        (reset! slack [])
