Update message view test

This commit is contained in:
lilia 2014-10-29 12:53:54 -07:00
parent cb89ac1071
commit 245dc5b248

View file

@ -1,5 +1,7 @@
describe('MessageView', function() {
var message = Whisper.Messages.add({
var thread = Whisper.Threads.add({id: 'foo'});
var message = thread.messages().add({
threadId: thread.id,
body: 'hello world',
type: 'outgoing',
timestamp: new Date().getTime()