Ghost/core/test/unit/controllers/frontend
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
..
context_spec.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
error_spec.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
fetch-data_spec.js Cache permalinks & postsPerPage on config.theme 2015-12-15 08:16:53 +00:00
format-response_spec.js Switch frontend controller to use new filter param 2015-10-26 09:40:19 +00:00
index_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
templates_spec.js Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00