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;
|
var convo, message;
|
||||||
|
|
||||||
before(function() {
|
before(function() {
|
||||||
convo = ConversationController.dangerouslyCreateAndAdd({id: 'foo'});
|
convo = new Whisper.Conversation({id: 'foo'});
|
||||||
message = convo.messageCollection.add({
|
message = convo.messageCollection.add({
|
||||||
conversationId: convo.id,
|
conversationId: convo.id,
|
||||||
body: 'hello world',
|
body: 'hello world',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue