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

This commit is contained in:
Henry Oswald 2015-10-01 15:54:46 +01:00
parent 2a03591030
commit 6052bf6a7e

View file

@ -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", ->