Doc is always one version ahead of latest op version

This commit is contained in:
James Allen
2014-03-05 16:31:38 +00:00
parent 3660253fd4
commit 2e1307bd82
3 changed files with 6 additions and 4 deletions
@@ -49,7 +49,7 @@ describe "Getting a diff", ->
MockDocUpdaterApi.docs[@doc_id] =
lines: @lines
version: 6
version: 7
TrackChangesClient.pushRawUpdates @doc_id, @updates, (error) =>
throw error if error?