Ghost/core/test/unit/middleware
Hannah Wolfe bc97de5fe9 Unify usage of config in unit tests
no issue

- provide a single point for accessing config in unit tests
- create a single way to set and restore config
- ensure that restore deletes top level optional keys that are now undefined
- use this._config in check deprecations, otherwise the config gets cached
- solves issues with interdependent tests
2015-12-15 10:48:24 +00:00
..
auth-strategies_spec.js Check client is enabled before auth 2015-11-04 16:59:56 +00:00
authentication_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
cache-control_spec.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
check-ssl_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
decide-is-admin_spec.js Improve API error handling 2015-06-15 10:08:30 +01:00
oauth_spec.js OAuth Middleware refactor 2015-12-01 21:20:11 +01:00
private-blogging_spec.js Middleware Refactor 2015-08-04 14:53:58 +02:00
redirect-to-setup_spec.js Middleware Refactor 2015-08-04 14:53:58 +02:00
serve-shared-file_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
spam-prevention_spec.js Move the spam prevention into its own file. 2015-05-29 08:59:29 -07:00
static-theme_spec.js Remove unnecessary API lookup for activeTheme 2015-09-29 22:54:55 +02:00
theme-handler_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
uncapitalise_spec.js Uncapitalise respects subdirectories & no encoding 2015-09-24 18:52:30 +01:00