|
|
@@ -159,15 +159,3 @@ describe('InactiveProjectManager', function() {
|
|
|
})
|
|
|
})
|
|
|
})
|
|
|
-
|
|
|
-// it "should not call markAsInactive if there was a problem archiving in track changes", (done)->
|
|
|
-// @DocstoreManager.archiveProject.callsArgWith(1)
|
|
|
-// @TrackChangesManager.archiveProject.callsArgWith(1, "errorrr")
|
|
|
-
|
|
|
-// @ProjectUpdateHandler.markAsInactive.callsArgWith(1)
|
|
|
-
|
|
|
-// @InactiveProjectManager.deactivateProject @project_id, (err)=>
|
|
|
-// err.should.equal "errorrr"
|
|
|
-// @DocstoreManager.archiveProject.calledWith(@project_id).should.equal true
|
|
|
-// @ProjectUpdateHandler.markAsInactive.calledWith(@project_id).should.equal false
|
|
|
-// done()
|