         logout: sinon.spy()
       res =
         set: sinon.spy()
-        send: sinon.spy()
+        sendStatus: sinon.spy()
       next = sinon.spy()
       signout(req, res, next)
 

      req.session.opbs.should.not.equal opbs

    it 'should respond 204', ->
      res.send.should.have.been.calledWith 204

    it 'should respond with Cache-Control header', ->
      res.set.should.have.been.calledWith sinon.match({

            logout: sinon.spy()
          res =
            set: sinon.spy()
            sendStatus: sinon.spy()
            redirect: sinon.spy()
          next = sinon.spy()
          signout(req, res, next)
