2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00
discourse/test/javascripts/acceptance/unknown-test.js.es6
2017-06-15 10:12:07 -04:00

10 lines
276 B
JavaScript

import { acceptance } from "helpers/qunit-helpers";
acceptance("Unknown");
QUnit.test("Unknown URL", assert => {
assert.expect(1);
visit("/url-that-doesn't-exist");
andThen(() => {
assert.ok(exists(".page-not-found"), "The not found content is present");
});
});