fix acceptance tests for mongojs 1.x driver

This commit is contained in:
Brian Gough 2016-01-05 12:10:57 +00:00
parent 6754bdca1c
commit bad923e073

View file

@ -62,8 +62,8 @@ describe "Archiving updates", ->
after (done) ->
MockWebApi.getUserInfo.restore()
db.docHistory.remove {project_id: ObjectId(@project_id)}
TrackChangesClient.removeS3Doc @project_id, @doc_id, done
db.docHistory.remove {project_id: ObjectId(@project_id)}, () ->
TrackChangesClient.removeS3Doc @project_id, @doc_id, done
describe "archiving a doc's updates", ->
before (done) ->