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-14 13:57:58 -04:00
QUnit.test("Unknown URL", assert => {
assert.expect(1);
2014-07-30 13:27:14 -04:00
visit("/url-that-doesn't-exist");
andThen(() => {
2017-06-14 13:57:58 -04:00
assert.ok(exists(".page-not-found"), "The not found content is present");
});
});