Ghost/core/test/unit
Hannah Wolfe e044136503 API Option Handling
refs #2758

- add a set of default options to utils
- update validation function to only pass through permitted options
- pass permitted options into validate where necessary
- setup basic validation for each known option, and generic validation for the remainder
- change slug to treat 'name' as data, rather than an option
2015-07-14 18:20:27 +01:00
..
middleware Merge pull request #5427 from ErisDS/api-reshuffle 2015-06-15 10:26:11 -05:00
server_helpers Adds meta referrer tag to the head of ghost pages 2015-07-08 14:59:39 +01:00
api_utils_spec.js API Option Handling 2015-07-14 18:20:27 +01:00
apps_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
config_spec.js Refactor URL builder 2015-06-02 21:50:17 +01:00
error_handling_spec.js Fixup broken error page styles 2015-06-08 12:14:58 +01:00
filters_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
frontend_spec.js Use urlJoin in RSS + test coverage 2015-06-10 09:18:52 +01: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
middleware_spec.js Cache control middleware refactor 2015-05-18 22:20:26 +01:00
migration_spec.js Add tests to verify db version hasn't changed 2014-12-20 10:24:20 +00:00
models_pagination_spec.js Add event handling to pagination plugin 2015-06-26 22:56:03 +01:00
permissions_spec.js Upgrade grunt-jscs to fix whitespace linting. 2015-04-30 16:14:19 -05:00
rss_spec.js Use urlJoin in RSS + test coverage 2015-06-10 09:18:52 +01:00
server_helpers_index_spec.js Cleans up HTML data attributes on body in default.hbs 2014-11-29 17:09:43 +01:00
server_helpers_template_spec.js refactors the frontend controller 2015-05-05 07:35:08 -05:00
server_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
server_utils_spec.js Makes most special characters be replaced with a dash 2015-05-14 13:00:43 -06: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