diff --git a/spec/headline.js b/spec/headline.js index c937f6d1b..7029d6859 100644 --- a/spec/headline.js +++ b/spec/headline.js @@ -11,9 +11,42 @@ var $msg = converse_api.env.$msg, _ = converse_api.env._; - describe("When a headline message is received", function () { + describe("A headlines box", function () { - it("a chat box will open and display it", function () { + it("will not open nor display non-headline messages", function () { + /* XMPP spam message: + * + * + * -wwdmz + * SORRY FOR THIS ADVERT