discourse/test/javascripts/integration/unknown-test.js.es6
Robin Ward 7aa68eaeab Rename "Integration" tests to "Acceptance" tests.
The term "Acceptance" seems to have won out everywhere and I don't want
our codebase to be confusing.
2015-04-06 14:14:00 -04:00

11 lines
252 B
JavaScript

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