Przeglądaj źródła

change test to 19 not 20 as a stub in mongo is left behind

Henry Oswald 11 lat temu
rodzic
commit
6052bf6a7e

+ 2 - 2
services/track-changes/test/acceptance/coffee/ArchivingUpdatesTests.coffee

@@ -89,9 +89,9 @@ describe "Archiving updates", ->
 				doc.v.should.equal 20
 				doc.v.should.equal 20
 				done()
 				done()
 
 
-		it "should store twenty doc changes in S3", (done) ->
+		it "should store nineteen doc changes in S3", (done) ->
 			TrackChangesClient.getS3Doc @project_id, @doc_id, (error, res, doc) =>
 			TrackChangesClient.getS3Doc @project_id, @doc_id, (error, res, doc) =>
-				doc.length.should.equal 20
+				doc.length.should.equal 19
 				done()
 				done()
 
 
 	describe "unarchiving a doc's updates", ->
 	describe "unarchiving a doc's updates", ->