2015-04-06 14:14:00 -04:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("About");
|
2014-08-12 11:15:32 -04:00
|
|
|
|
2015-03-19 07:22:56 -04:00
|
|
|
test("viewing", () => {
|
2014-08-12 11:15:32 -04:00
|
|
|
visit("/about");
|
2015-03-19 07:22:56 -04:00
|
|
|
andThen(() => {
|
2016-11-10 13:33:31 -05:00
|
|
|
ok($('body.about-page').length, "has body class");
|
2016-03-24 13:05:09 -04:00
|
|
|
ok(exists('.about.admins .user-info'), 'has admins');
|
|
|
|
ok(exists('.about.moderators .user-info'), 'has moderators');
|
2014-08-12 11:15:32 -04:00
|
|
|
ok(exists('.about.stats tr td'), 'has stats');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|