             [loom.graph :as graph]
             [loom.alg :as alg]))
 
-(def dependecy-dag
+(def dependency-dag
   (graph/digraph
    [:get-image-data :extract-image-tag]
 


(defmacro ensure-dependencies-defined [fn-name]
  (let [fn-keyword (keyword fn-name)]
    (if (graph/has-node? dependecy-dag fn-keyword)
      `(are-with-msg [selector#]
                     (is (not= (selector#)
                               nil)

                              "`" 'selector# "'"
                              " cannot be undefined"))
                     ~@(->> fn-keyword
                            (alg/topsort dependency-dag)
                            (filter data-function?)
                            (map key->sym)))
      (throw (IllegalArgumentException.
