Blame view
tests/not-found.js
389 Bytes
f0c912bf1
|
1 2 |
/* eslint-env mocha */ /* eslint-disable func-names, prefer-arrow-callback */ |
c23f29749
|
3 |
|
f0c912bf1
|
4 5 6 7 8 9 |
describe('404 Error', function () { it('should render a 404 for a non-existent route', function () { browser.url('http://localhost:3000/dididothat') .waitForExist('.alert-danger'); expect(browser.getText('.alert-danger p')).to.equal('Error [404]: /dididothat does not exist.'); |
c23f29749
|
10 11 |
}); }); |