Fix unit tests

This commit is contained in:
James Allen 2014-07-16 12:01:15 +01:00
parent 60174ffb09
commit fce271f827

View file

@ -291,12 +291,6 @@ describe "ProjectController", ->
done() done()
@ProjectController.loadEditor @req, @res @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)-> it "should render the closed page if the editor is closed", (done)->
@settings.editorIsOpen = false @settings.editorIsOpen = false
@res.render = (pageName, opts)=> @res.render = (pageName, opts)=>