             [om-semantic.dropdown :as d]))
 
 (enable-console-print!)
+
+(defn make-wrapper [init-state]
+  (fn [data owner]
+    (om/component
+      (om/build d/dropdown data {:init-state init-state}))))
 
 (deftest dropdown 
   (testing "Dropdown displays initial state"

            (sim/click (second ns) nil)
            (om/render-all)
            (is (= (:selected @app-state) (:id (second xs))))
            (is (= (:val (second xs)) (.-innerHTML display-node)))))))))



                      :lkey :val
                      :disabled false
                      :selected [:selected]}
          wrapper (make-wrapper init-state) 
          rt (om/root wrapper app-state {:target c})
          react-nodes (tu/find-by-tag rt "div")
          [main-react display-react] react-nodes 
