|
|
describe "with a consistent version", ->
|
|
describe "with a consistent version", ->
|
|
|
@RedisManager.getDocVersion.withArgs(@doc_id).yields(null, @version - @ops.length)
|
|
@RedisManager.getDocVersion.withArgs(@doc_id).yields(null, @version - @ops.length)
|
|
|
@RedisManager.updateDocument @doc_id, @lines, @version, @ops, @ranges, @callback
|
|
@RedisManager.updateDocument @doc_id, @lines, @version, @ops, @ranges, @callback
|