TESTS: Adds integration test for new about route
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
integration("About");
|
||||
|
||||
test("viewing", function() {
|
||||
visit("/about");
|
||||
andThen(function() {
|
||||
ok(exists('.about.admins .user-small'), 'has admins');
|
||||
ok(exists('.about.moderators .user-small'), 'has moderators');
|
||||
ok(exists('.about.stats tr td'), 'has stats');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user