Commit d109ed94 authored by JC Brand's avatar JC Brand

converse-muc: Fix failing test.

No need to manually call `renderChatArea`.
parent 4026248c
...@@ -424,7 +424,6 @@ ...@@ -424,7 +424,6 @@
var $input; var $input;
var view = converse.chatboxviews.get('lounge@localhost'); var view = converse.chatboxviews.get('lounge@localhost');
view.$el.find('.chat-area').remove(); view.$el.find('.chat-area').remove();
view.renderChatArea(); // Will init the widget
test_utils.createContacts(converse, 'current'); // We need roster contacts, so that we have someone to invite test_utils.createContacts(converse, 'current'); // We need roster contacts, so that we have someone to invite
$input = view.$el.find('input.invited-contact.tt-input'); $input = view.$el.find('input.invited-contact.tt-input');
var $hint = view.$el.find('input.invited-contact.tt-hint'); var $hint = view.$el.find('input.invited-contact.tt-hint');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment