discourse/test/javascripts/integration/groups-test.js.es6
Robin Ward 7aa68eaeab Rename "Integration" tests to "Acceptance" tests.
The term "Acceptance" seems to have won out everywhere and I don't want
our codebase to be confusing.
2015-04-06 14:14:00 -04:00

14 lines
358 B
JavaScript

import { acceptance } from "helpers/qunit-helpers";
acceptance("Groups");
test("Browsing Groups", () => {
visit("/groups/discourse");
andThen(() => {
ok(count('.user-stream .item') > 0, "it has stream items");
});
visit("/groups/discourse/members");
andThen(() => {
ok(count('.group-members tr') > 0, "it lists group members");
});
});