From a36e8a63ce0deb3060e483b87cdb9ce3ade6d601 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 5 Jul 2017 09:55:40 +0000 Subject: [PATCH] Fix test when not running on localhost --- spec/chatbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/chatbox.js b/spec/chatbox.js index 478ed1d4a..724fe4e5e 100644 --- a/spec/chatbox.js +++ b/spec/chatbox.js @@ -1250,7 +1250,7 @@ expect(view.sendMessage).toHaveBeenCalled(); var msg = view.$el.find('.chat-content').find('.chat-message').last().find('.chat-msg-content'); expect(msg.html()).toEqual( - ''); message += "?param1=val1¶m2=val2"; test_utils.sendMessage(view, message); @@ -1261,7 +1261,7 @@ expect(view.sendMessage).toHaveBeenCalled(); var msg = view.$el.find('.chat-content').find('.chat-message').last().find('.chat-msg-content'); expect(msg.html()).toEqual( - '') done();