Fix failing test

This commit is contained in:
Alasdair Smith 2018-05-24 10:27:36 +01:00
parent 1849fcb70a
commit 81fdca91c1

View file

@ -308,6 +308,7 @@ describe "ProjectController", ->
it 'should show for paid users', (done) -> it 'should show for paid users', (done) ->
@user.features.github = true @user.features.github = true
@user.features.dropbox = true
@res.render = (pageName, opts)=> @res.render = (pageName, opts)=>
opts.frontChatWidgetRoomId.should.equal @settings.overleaf.front_chat_widget_room_id opts.frontChatWidgetRoomId.should.equal @settings.overleaf.front_chat_widget_room_id
done() done()