mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 22:57:16 +08:00
FIX: Groups post page was broken.
Also added integration tests so we don't miss this breaking in the future.
This commit is contained in:
12
test/javascripts/integration/groups-test.js.es6
Normal file
12
test/javascripts/integration/groups-test.js.es6
Normal file
@ -0,0 +1,12 @@
|
||||
integration("Groups");
|
||||
|
||||
test("Browsing Groups", function() {
|
||||
visit("/groups/discourse");
|
||||
andThen(function() {
|
||||
ok(count('.user-stream .item') > 0, "it has stream items");
|
||||
});
|
||||
visit("/groups/discourse/members");
|
||||
andThen(function() {
|
||||
ok(count('.group-members tr') > 0, "it lists group members");
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user