 (deftest convert-price-should-not-change-text-without-price 
   (is (= (complico/convert-price-in-text "text without price") "text without price")))
 
-(deftest replace-price-in-dom 
+(deftest replace-price-in-dom-should-correctly-replace-price
   (let [root-elem (node 
           [:body
             [:div
-              [:div#price "£300"]]])]
+              [:div "£300"]]])]
     (complico/replace-prices-in-dom! root-elem)
     (-> root-elem
         (.-lastChild)

        (complico/get-text-from-node)
        (confirm-text-was-set-to "£XXX"))))


(defn confirm-text-remains [actual-text expected-text]
  (is (= actual-text expected-text)))

(deftest convert-price-case-1 
  (is (= (complico/convert-price-in-text "£3") "£XXX")))

