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 ', ->