2015-04-06 14:14:00 -04:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
acceptance("Unknown");
|
2014-04-29 15:29:01 -04:00
|
|
|
|
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");
|
2015-03-19 07:22:56 -04:00
|
|
|
andThen(() => {
|
2017-06-14 13:57:58 -04:00
|
|
|
assert.ok(exists(".page-not-found"), "The not found content is present");
|
2014-04-29 15:29:01 -04:00
|
|
|
});
|
|
|
|
});
|