|
|
@@ -8,7 +8,6 @@ describe('ClsiManager', function() {
|
|
|
beforeEach(function() {
|
|
|
this.jar = { cookie: 'stuff' }
|
|
|
this.ClsiCookieManager = {
|
|
|
- clearServerId: sinon.stub().yields(),
|
|
|
getCookieJar: sinon.stub().callsArgWith(1, null, this.jar),
|
|
|
setServerId: sinon.stub().callsArgWith(2),
|
|
|
_getServerId: sinon.stub()
|
|
|
@@ -421,12 +420,6 @@ describe('ClsiManager', function() {
|
|
|
.should.equal(true)
|
|
|
})
|
|
|
|
|
|
- it('should clear the clsi persistance', function() {
|
|
|
- this.ClsiCookieManager.clearServerId
|
|
|
- .calledWith(this.project_id)
|
|
|
- .should.equal(true)
|
|
|
- })
|
|
|
-
|
|
|
it('should call the callback', function() {
|
|
|
this.callback.called.should.equal(true)
|
|
|
})
|