Merge pull request #964 from sharelatex/csh-issue-963-MultipleProjectDownloads

Replace ShareLaTeX with Overleaf in name of multiple project download file
This commit is contained in:
Brian Gough 2018-09-25 09:33:53 +01:00 committed by GitHub
commit 89ba3912c0
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", ->