mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
fix unit test
This commit is contained in:
parent
c19acd82a4
commit
b7b40faefe
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ describe 'ProjectEntityHandler', ->
|
||||||
|
|
||||||
it "should return an error", ->
|
it "should return an error", ->
|
||||||
@callback
|
@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
|
.should.equal true
|
||||||
|
|
||||||
describe '_removeElementFromMongoArray ', ->
|
describe '_removeElementFromMongoArray ', ->
|
||||||
|
|
Loading…
Reference in a new issue