Fix error type assertion

This commit is contained in:
Alasdair Smith
2018-02-01 10:08:10 +00:00
parent ec8637ead1
commit 23de113393
@@ -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 ', ->