mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
More Javascript Tests + Fixtures. Also a rake task to crawl them.
This commit is contained in:
22
test/javascripts/integration/static_test.js
Normal file
22
test/javascripts/integration/static_test.js
Normal file
@ -0,0 +1,22 @@
|
||||
integration("Static");
|
||||
|
||||
test("Faq", function() {
|
||||
expect(1);
|
||||
visit("/faq").then(function() {
|
||||
ok(exists(".body-page"), "The content is present");
|
||||
});
|
||||
});
|
||||
|
||||
test("Terms of Service", function() {
|
||||
expect(1);
|
||||
visit("/tos").then(function() {
|
||||
ok(exists(".body-page"), "The content is present");
|
||||
});
|
||||
});
|
||||
|
||||
test("Privacy", function() {
|
||||
expect(1);
|
||||
visit("/privacy").then(function() {
|
||||
ok(exists(".body-page"), "The content is present");
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user