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