0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
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
..
controllers/frontend Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
metadata Refactored ghost head helper 2016-02-04 22:18:51 -08:00
middleware deps: should@8.2.1 2016-02-09 13:39:10 +00:00
models_plugins deps: should@8.2.1 2016-02-09 13:39:10 +00:00
server_helpers deps: should@8.2.1 2016-02-09 13:39:10 +00:00
api_utils_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
apps_filters_spec.js Filter plugin with enforce/default logic 2015-11-17 10:39:44 +00:00
apps_spec.js Harvest server side strings 2015-12-19 12:12:16 +01:00
config_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
error_handling_spec.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
filters_spec.js
ghost_url_spec.js Fix non-idempotent Ghost API helper 2015-12-18 15:02:05 +01:00
importer_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
mail_spec.js Refactor mail service 2016-02-10 16:31:42 -06:00
migration_spec.js Adding drop-column migration handling 2016-02-09 12:11:49 +00:00
permissions_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
rss_spec.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
server_helpers_index_spec.js
server_helpers_template_spec.js Unify code for picking a template to render with 2015-12-01 12:05:46 +08:00
server_spec.js Refactor gravatarLookup, remove request dependency 2016-02-16 11:12:01 +00:00
server_utils_spec.js Refactor gravatarLookup, remove request dependency 2016-02-16 11:12:01 +00:00
showdown_client_integrated_spec.js Upgrade grunt-jscs to fix whitespace linting. 2015-04-30 16:14:19 -05:00
sitemap_spec.js Refactor RSS Image node generation 2016-01-05 21:25:52 -08:00
storage_local-file-store_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
utils_pipeline_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
xmlrpc_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00