AxolotlStore stores groups in indexeddb

This commit is contained in:
lilia 2015-05-06 15:09:03 -07:00
parent 359b4a15a2
commit d0e262d7cb
3 changed files with 26 additions and 4 deletions

View file

@ -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);
});