diff --git a/test/models/conversations_test.js b/test/models/conversations_test.js index 32c9db0f..8622aaf5 100644 --- a/test/models/conversations_test.js +++ b/test/models/conversations_test.js @@ -152,9 +152,11 @@ assert.equal(convo.getNumber(), ''); }); - it('has an avatar URL', function() { + it('has an avatar', function() { var convo = new Whisper.ConversationCollection().add(attributes); - assert.equal(convo.getAvatarUrl(), '/images/default.png'); + var avatar = convo.getAvatar(); + assert.property(avatar, 'content'); + assert.property(avatar, 'color'); }); it('revokes the avatar URL', function() {