diff --git a/test/server/graph/context.js b/test/server/graph/context.js index 23d11aea3..a788f509b 100644 --- a/test/server/graph/context.js +++ b/test/server/graph/context.js @@ -39,8 +39,7 @@ describe('graph.Context', () => { }); it('creates a context without a user', done => { - expect(c).to.have.property('user'); - expect(c.user).to.be.undefined; + expect(c.user).to.be.falsy; done(); });