0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/unit
Hannah Wolfe 545bea0eaf Return a single 422 error for invalid values
refs #5808

- Fix the API to return a single 422 error when an invalid value is passed
- Only affects Browse, and not Read at present due to differences in how they are handled
- Frontend was changed to always 404 in #5851
- Adds tests to ensure all cases are covered
2015-09-25 10:30:49 +01:00
..
middleware Uncapitalise respects subdirectories & no encoding 2015-09-24 18:52:30 +01:00
server_helpers Add replacement for zero in plural helper 2015-09-22 16:00:20 +01:00
api_utils_spec.js Return a single 422 error for invalid values 2015-09-25 10:30:49 +01:00
apps_spec.js
config_spec.js Update lodash and cheerio 2015-07-21 19:59:49 +02:00
error_handling_spec.js Fixup broken error page styles 2015-06-08 12:14:58 +01:00
filters_spec.js
frontend_spec.js Fix failing frontend_spec on windows. Don't rely on path matches. 2015-07-14 11:16:41 +02:00
importer_spec.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
mail_spec.js Fix email sending fail when blog title has a comma 2015-01-09 21:34:24 +00:00
migration_spec.js Maintain tag order for posts 2015-09-02 16:39:34 +01:00
models_pagination_spec.js Add event handling to pagination plugin 2015-06-26 22:56:03 +01:00
permissions_spec.js Add public API permission handling 2015-08-03 19:30:17 +01:00
rss_spec.js RSS Fix: Do not convert protocol relative URLs 2015-07-21 23:16:04 -05:00
server_helpers_index_spec.js
server_helpers_template_spec.js refactors the frontend controller 2015-05-05 07:35:08 -05:00
server_spec.js
server_utils_spec.js Fix handling of slugs on import 2015-09-23 17:41:44 +01: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 sitemaps to use centralised events 2015-04-05 19:32:18 +01:00
storage_local-file-store_spec.js Use extends correctly & consistently 2015-06-25 19:56:27 +01:00
xmlrpc_spec.js Refactor sitemaps to use centralised events 2015-04-05 19:32:18 +01:00