0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/unit/controllers/frontend
Hannah Wolfe 02199c6b02 Disambiguate between error code & status code
refs #6526

- Change our errors to use `statusCode` for the status code (like res.statusCode)
- Use statusCode for anything that's supposed to be the statusCode, rather than an error idenfier/code
- Update all the tests that check the key
- Route tests don't need fixing as the status codes are still returned correctly
2016-02-17 15:20:49 +00:00
..
channels_spec.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
context_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
error_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
fetch-data_spec.js Don't include app fields 2016-02-11 15:03:33 +00:00
format-response_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
index_spec.js Make frontend routing dynamic & driven by channels 2016-02-15 15:57:20 +00:00
templates_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00