Fix tests

This commit is contained in:
lilia 2015-03-11 20:41:15 -07:00
parent f1309b71c1
commit 04796e56d1

View file

@ -44,7 +44,9 @@
return this.get('type') === 'incoming';
},
getContact: function() {
return this.collection.conversation.contactCollection.get(this.get('source'));
if (this.collection) {
return this.collection.conversation.contactCollection.get(this.get('source'));
}
}
});