Commit e6f5b95d authored by JC Brand's avatar JC Brand

Fix tests by allowing removeFromRoster to be spyable.

parent 1ce32878
...@@ -3484,7 +3484,7 @@ ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment