From d6ea158e46f0a98edb5d664111bf593ec86b00d0 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Tue, 27 Mar 2018 19:02:00 -0400 Subject: [PATCH] Avoid `dangerouslyCreateAndAdd` in `MessageView` test --- test/views/message_view_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/views/message_view_test.js b/test/views/message_view_test.js index 1383c73e5..25e74e18e 100644 --- a/test/views/message_view_test.js +++ b/test/views/message_view_test.js @@ -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',