mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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:
6
test/javascripts/fixtures/group-fixtures.js.es6
Normal file
6
test/javascripts/fixtures/group-fixtures.js.es6
Normal file
File diff suppressed because one or more lines are too long
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