mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:23:10 +00:00
Fix unit tests
This commit is contained in:
parent
60174ffb09
commit
fce271f827
1 changed files with 0 additions and 6 deletions
|
@ -291,12 +291,6 @@ describe "ProjectController", ->
|
|||
done()
|
||||
@ProjectController.loadEditor @req, @res
|
||||
|
||||
it "should add sharelatex", (done)->
|
||||
@res.render = (pageName, opts)=>
|
||||
opts.sharelatex.siteUrl.should.equal @settings.siteUrl
|
||||
done()
|
||||
@ProjectController.loadEditor @req, @res
|
||||
|
||||
it "should render the closed page if the editor is closed", (done)->
|
||||
@settings.editorIsOpen = false
|
||||
@res.render = (pageName, opts)=>
|
||||
|
|
Loading…
Reference in a new issue