FIX: Failing test.

This commit is contained in:
Guo Xiang Tan 2016-06-20 12:50:22 +08:00
parent 01c563ca85
commit 1a6624960d
No known key found for this signature in database
GPG Key ID: 19C321C8952B0F72

View File

@ -38,6 +38,6 @@ test("tag is cooked properly", () => {
click('#reply-control .btn.create');
andThen(() => {
ok(find('.topic-post:last .cooked').html().trim().includes("<p>this is a tag hashtag <a href=\"/tags/monkey\" class=\"hashtag\">#<span>monkey</span></a></p>"));
equal(find('.topic-post:last .cooked').html().trim(), "<p>this is a tag hashtag <a href=\"/tags/monkey\" class=\"hashtag\">#<span>monkey</span></a></p>");
});
});