FEATURE: Allow group owners to edit group name and avatar flair.

This commit is contained in:
Guo Xiang Tan
2016-11-29 16:25:02 +08:00
parent b45fd21ed9
commit 31acd311e5
26 changed files with 453 additions and 209 deletions

View File

@ -32,7 +32,7 @@ test("Browsing Groups", () => {
});
});
test("Messages tab", () => {
test("Admin Browsing Groups", () => {
logIn();
Discourse.reset();
@ -41,4 +41,10 @@ test("Messages tab", () => {
andThen(() => {
ok($('.action-list li').length === 5, 'it should show messages tab if user is admin');
});
click('.group-edit-btn');
andThen(() => {
ok(find('.group-flair-inputs').length === 1, 'it should display avatar flair inputs');
});
});