Replace ShareLaTeX with Overleaf in name of multiple project download file (Closes: #963)

This commit is contained in:
Christopher Hoskin
2018-09-24 16:33:54 +01:00
parent ce6405d5b1
commit 5c35cc9593
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ module.exports = ProjectDownloadsController =
return next(error) if error?
res.setContentDisposition(
'attachment',
{filename: "ShareLaTeX Projects (#{project_ids.length} items).zip"}
{filename: "Overleaf Projects (#{project_ids.length} items).zip"}
)
res.contentType('application/zip')
stream.pipe(res)

View File

@@ -112,7 +112,7 @@ describe "ProjectDownloadsController", ->
@res.setContentDisposition
.calledWith(
'attachment',
{filename: "ShareLaTeX Projects (2 items).zip"})
{filename: "Overleaf Projects (2 items).zip"})
.should.equal true
it "should record the action via Metrics", ->