discourse/test/javascripts/acceptance/unknown-test.js.es6

11 lines
276 B
Plaintext
Raw Normal View History

import { acceptance } from "helpers/qunit-helpers";
acceptance("Unknown");
2017-06-15 01:57:58 +08:00
QUnit.test("Unknown URL", assert => {
assert.expect(1);
2014-07-31 01:27:14 +08:00
visit("/url-that-doesn't-exist");
andThen(() => {
2017-06-15 01:57:58 +08:00
assert.ok(exists(".page-not-found"), "The not found content is present");
});
});