mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
ES6: Tests
This commit is contained in:
parent
3b46b5ecbf
commit
b8bfbcb3cb
19 changed files with 7 additions and 0 deletions
9
test/javascripts/integration/unknown-test.js.es6
Normal file
9
test/javascripts/integration/unknown-test.js.es6
Normal file
|
@ -0,0 +1,9 @@
|
|||
integration("Unknown");
|
||||
|
||||
test("Unknown URL", function() {
|
||||
expect(1);
|
||||
visit("/url-that-doesn't-exist");
|
||||
andThen(function() {
|
||||
ok(exists(".page-not-found"), "The not found content is present");
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue