discourse/test/javascripts/integration/unknown_test.js

9 lines
205 B
JavaScript

integration("Unknown");
test("Unknown URL", function() {
expect(1);
visit("/url-that-doesn't-exist").then(function() {
ok(exists(".page-not-found"), "The not found content is present");
});
});