Avoid dangerouslyCreateAndAdd
in MessageView
test
This commit is contained in:
parent
08f6886f3e
commit
d6ea158e46
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ describe('MessageView', function() {
|
|||
var convo, message;
|
||||
|
||||
before(function() {
|
||||
convo = ConversationController.dangerouslyCreateAndAdd({id: 'foo'});
|
||||
convo = new Whisper.Conversation({id: 'foo'});
|
||||
message = convo.messageCollection.add({
|
||||
conversationId: convo.id,
|
||||
body: 'hello world',
|
||||
|
|
Loading…
Add table
Reference in a new issue