From b7b40faefea86338194823e22ad1167fca1cf97d Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 31 Jan 2018 13:28:11 +0000 Subject: [PATCH] fix unit test --- .../test/unit/coffee/Project/ProjectEntityHandlerTests.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/unit/coffee/Project/ProjectEntityHandlerTests.coffee b/services/web/test/unit/coffee/Project/ProjectEntityHandlerTests.coffee index 39c1eba75d..5a41f320bd 100644 --- a/services/web/test/unit/coffee/Project/ProjectEntityHandlerTests.coffee +++ b/services/web/test/unit/coffee/Project/ProjectEntityHandlerTests.coffee @@ -466,7 +466,7 @@ describe 'ProjectEntityHandler', -> it "should return an error", -> @callback - .calledWith(new Error("destination folder is a child folder of me")) + .calledWith(new Errors.InvalidNameError("destination folder is a child folder of me")) .should.equal true describe '_removeElementFromMongoArray ', ->