TESTS: Adds integration test for new about route

This commit is contained in:
Robin Ward
2014-08-12 11:15:32 -04:00
parent 0e5a79cf5d
commit d1f6c31382
3 changed files with 15 additions and 1 deletions
@@ -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');
});
});