discourse/test/javascripts/integration/groups-test.js.es6
Robin Ward 2ea4c1c9de FIX: Groups post page was broken.
Also added integration tests so we don't miss this breaking in the
future.
2015-01-23 11:13:27 -05:00

12 lines
321 B
JavaScript

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");
});
});