|
@@ -611,7 +611,11 @@
|
|
|
expect(view.$('.chat-area').is(':visible')).toBeFalsy();
|
|
|
expect(view.$('.occupants').is(':visible')).toBeFalsy();
|
|
|
var $chat_body = view.$('.chatroom-body');
|
|
|
- expect($chat_body.html().trim().indexOf('<p>You have been kicked from this room</p><p>The reason given is: "Avaunt, you cullion!"</p>')).not.toBe(-1);
|
|
|
+ expect($chat_body.html().trim().indexOf(
|
|
|
+ '<p>You have been kicked from this room</p>'+
|
|
|
+ '<p>This action was done by <strong>Fluellen</strong>.</p>'+
|
|
|
+ '<p>The reason given is: <em>"Avaunt, you cullion!"</em>.</p>'
|
|
|
+ )).not.toBe(-1);
|
|
|
}));
|
|
|
|
|
|
it("can be saved to, and retrieved from, browserStorage", mock.initConverse(function (converse) {
|