瀏覽代碼

fix lock in test

Brian Gough 11 年之前
父節點
當前提交
12c5098b48
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      services/track-changes/test/unit/coffee/DocArchive/DocArchiveManager.coffee

+ 1 - 1
services/track-changes/test/unit/coffee/DocArchive/DocArchiveManager.coffee

@@ -50,7 +50,7 @@ describe "DocArchiveManager", ->
 		it "should run archiveDocChangesWithLock with the lock", ->
 		it "should run archiveDocChangesWithLock with the lock", ->
 			@LockManager.runWithLock
 			@LockManager.runWithLock
 				.calledWith(
 				.calledWith(
-					"HistoryArchiveLock:#{@doc_id}"
+					"HistoryLock:#{@doc_id}"
 				)
 				)
 				.should.equal true
 				.should.equal true