           req.session.opbs.should.not.equal opbs
 
         it 'should respond 204', ->
-          res.send.should.have.been.calledWith 204
+          res.sendStatus.should.have.been.calledWith 204
 
 
       describe 'and valid uri', ->

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


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