ES6: Tests

This commit is contained in:
Robin Ward
2014-07-31 12:05:47 -04:00
parent 3b46b5ecbf
commit b8bfbcb3cb
19 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,21 @@
integration("Static");
test("Static Pages", function() {
expect(4);
visit("/faq");
andThen(function() {
ok(exists(".body-page"), "The content is present");
});
visit("/guidelines");
andThen(function() {
ok(exists(".body-page"), "The content is present");
});
visit("/tos");
andThen(function() {
ok(exists(".body-page"), "The content is present");
});
visit("/privacy");
andThen(function() {
ok(exists(".body-page"), "The content is present");
});
});