Blame view
tests/not-found.js
396 Bytes
f0c912bf1
|
1 2 |
/* eslint-env mocha */ /* eslint-disable func-names, prefer-arrow-callback */ |
c23f29749
|
3 |
|
f0c912bf1
|
4 |
describe('404 Error', function () { |
cac7cbc73
|
5 |
it('should render a 404 for a non-existent route @watch', function () { |
f0c912bf1
|
6 7 8 9 |
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 |
}); }); |