Fix tests by allowing removeFromRoster to be spyable.
This commit is contained in:
parent
1ce328783c
commit
e6f5b95da7
@ -3484,7 +3484,7 @@
|
|||||||
'status': ''
|
'status': ''
|
||||||
}, attributes));
|
}, attributes));
|
||||||
|
|
||||||
this.on('destroy', this.removeFromRoster, this);
|
this.on('destroy', function () { this.removeFromRoster(); }.bind(this));
|
||||||
},
|
},
|
||||||
|
|
||||||
subscribe: function (message) {
|
subscribe: function (message) {
|
||||||
|
Loading…
Reference in New Issue
Block a user