mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 02:48:28 +08:00
Add an integration test for the new Ember 404 route
This commit is contained in:
8
test/javascripts/integration/unknown_test.js
Normal file
8
test/javascripts/integration/unknown_test.js
Normal file
@ -0,0 +1,8 @@
|
||||
integration("Unknown");
|
||||
|
||||
test("Unknown URL", function() {
|
||||
expect(1);
|
||||
visit("/url-that-doesn't-exist").then(function() {
|
||||
ok(exists(".page-not-found"), "The not found content is present");
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user