FIX: Group#mentionable and Group#messageable not fully working.

This commit is contained in:
Guo Xiang Tan
2017-10-02 16:50:27 +08:00
parent 4ae3a4e89e
commit 91c5f928c2
5 changed files with 16 additions and 7 deletions

View File

@ -132,7 +132,7 @@ QUnit.test("Admin Viewing Group", assert => {
andThen(() => {
assert.ok(find(".nav-pills li a[title='Edit Group']").length === 1, 'it should show edit group tab if user is admin');
assert.ok(find(".nav-pills li a[title='Logs']").length === 1, 'it should show Logs tab if user is admin');
assert.equal(count('.group-message-button'), 1, 'it displays show group message button');
assert.equal(find('.group-info-name').text(), 'Awesome Team', 'it should display the group name');
});

View File

@ -12,7 +12,8 @@ export default {
"public_exit":true,
"flair_url": 'fa-adjust',
"is_group_owner":true,
"mentionable":true
"mentionable":true,
"messageable":true
}
},
"/groups/discourse/counts.json":{