AxolotlStore stores groups in indexeddb
This commit is contained in:
parent
359b4a15a2
commit
d0e262d7cb
3 changed files with 26 additions and 4 deletions
|
@ -126,7 +126,7 @@
|
|||
});
|
||||
|
||||
it('adds conversation to message collection upon leaving group', function() {
|
||||
var convo = new Whisper.ConversationCollection().add({type: 'group'});
|
||||
var convo = new Whisper.ConversationCollection().add({type: 'group', id: 'a random string'});
|
||||
convo.leaveGroup();
|
||||
assert.notEqual(convo.messageCollection.length, 0);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue