2015-04-06 13:14:00 -05:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("About");
|
2014-08-12 10:15:32 -05:00
|
|
|
|
2017-06-14 12:57:58 -05:00
|
|
|
QUnit.test("viewing", assert => {
|
2014-08-12 10:15:32 -05:00
|
|
|
visit("/about");
|
2015-03-19 06:22:56 -05:00
|
|
|
andThen(() => {
|
2017-06-14 12:57:58 -05: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 10:15:32 -05:00
|
|
|
});
|
2017-06-14 12:57:58 -05:00
|
|
|
});
|