Ghost/core/test/integration/api
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
..
advanced_browse_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
api_authentication_spec.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
api_configuration_spec.js refactor admin config to include explicit value types 2016-01-19 09:43:09 -06:00
api_db_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
api_mail_spec.js Refactor mail service 2016-02-10 16:31:42 -06:00
api_notifications_spec.js deps: should@8.2.1 2016-02-09 13:39:10 +00:00
api_posts_spec.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
api_roles_spec.js API - no more m-2-m relation ids by default 2014-12-02 19:24:44 +00:00
api_settings_spec.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
api_slugs_spec.js Return a single 422 error for invalid values 2015-09-25 10:30:49 +01:00
api_tags_spec.js Rename post_count to count.posts 2015-11-20 14:59:58 +00:00
api_themes_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
api_upload_spec.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
api_users_spec.js Refactor gravatarLookup, remove request dependency 2016-02-16 11:12:01 +00:00