                            {[:div] (append @atm)})
           container (initial-render comp)
           html-str1 (inner-html container)
-          _ (reset! atm "two")
+          _ (do (reset! atm "two") (flush))
           html-str2 (inner-html container)]
       ;;note that ract wraps text nodes in span tags
       ;;this is expected to be corrected soon in react but

                           {[:div] (content [comp2])})
          container (initial-render comp)
          html-str1 (inner-html container)
          _ (reset! atm "two")
          html-str2 (inner-html container)]
      (is (= "<div id=\"tmp\"><div>one</div></div>"
             html-str1))

                           {[:div] (content @atm)})
          container (initial-render comp)
          html-str1 (inner-html container)
          _ (do (reset! atm "two") (flush))
          html-str2 (inner-html container)]
      (is (= "<div id=\"tmp\">one</div>" html-str1))
      (is (= "<div id=\"tmp\">two</div>" html-str2))
