Add another short delay to make async sync test pass

This commit is contained in:
Nicholas Kariniemi 2015-07-05 22:09:42 +03:00
parent 1260c4418c
commit 455cf54bc9

View file

@ -87,6 +87,7 @@
(>!! new-client-states client-change) (>!! new-client-states client-change)
(short-delay) (short-delay)
(>!! new-server-states (last @server)) (>!! new-server-states (last @server))
(short-delay)
(states-in-sync? @client @server) (states-in-sync? @client @server)
(last-state @client) => {:grubs {"1" {:text "2 apples" :completed true} (last-state @client) => {:grubs {"1" {:text "2 apples" :completed true}
"2" {:text "milk" :completed false}} "2" {:text "milk" :completed false}}