fix failing unit test

This commit is contained in:
James Allen 2014-06-27 14:38:08 +01:00
parent 5cbf600f05
commit 0d334a560e

View file

@ -288,7 +288,6 @@ describe "ProjectController", ->
it "should add on userSettingsObject", (done)->
@res.render = (pageName, opts)=>
userSettingsObject = JSON.parse(opts.userSettingsObject)
userSettingsObject.project_id.should.equal @project._id
userSettingsObject.fontSize.should.equal @user.ace.fontSize
userSettingsObject.theme.should.equal @user.ace.theme
done()