mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
check delete status code in copy test
This commit is contained in:
parent
de465aee94
commit
64c6341844
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ describe "Filestore", ->
|
||||||
request opts, (err, response, body)=>
|
request opts, (err, response, body)=>
|
||||||
response.statusCode.should.equal 200
|
response.statusCode.should.equal 200
|
||||||
request.del @fileUrl, (err, response, body)=>
|
request.del @fileUrl, (err, response, body)=>
|
||||||
|
response.statusCode.should.equal 204
|
||||||
request.get newFileUrl, (err, response, body)=>
|
request.get newFileUrl, (err, response, body)=>
|
||||||
body.should.equal @constantFileContent
|
body.should.equal @constantFileContent
|
||||||
done()
|
done()
|
||||||
|
|
Loading…
Reference in a new issue