REFACTOR: Stop mixing users page and groups page CSS.

This commit is contained in:
Guo Xiang Tan
2016-11-30 16:11:02 +08:00
parent 31acd311e5
commit e0c28d6fd5
10 changed files with 201 additions and 171 deletions

View File

@ -27,7 +27,7 @@ test("Browsing Groups", () => {
visit("/groups/discourse/messages");
andThen(() => {
ok($('.action-list li').length === 4, 'it should not show messages tab');
ok($('.nav-stacked li').length === 4, 'it should not show messages tab');
ok(count('.user-stream .item') > 0, "it lists stream items");
});
});
@ -39,7 +39,7 @@ test("Admin Browsing Groups", () => {
visit("/groups/discourse");
andThen(() => {
ok($('.action-list li').length === 5, 'it should show messages tab if user is admin');
ok($('.nav-stacked li').length === 5, 'it should show messages tab if user is admin');
});
click('.group-edit-btn');