0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test/unit
Harry Wolff be37070fb6 This aims to speed up both the ghost application and tests by
migration from usage of config() to just an object of config.

no relevant issue

- Change 'loadConfig' task to 'ensureConfig' to more accurately reflect
what it is actually doing.  Its sole purpose is to make sure a `config.js`
 file exists, and as such the name now reflects that purpose.

- Update config/index.js to export the ghostConfig object directly
so that it can be accessed from other modules

- Update all references of config(). to config.
This was a blind global find all and replace, treat it as such.

- Fixes to tests to support new config access method

- Allow each test to still work when invoked invidually
2014-07-22 22:37:44 -04:00
..
apps_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00
bootstrap_spec.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
config_spec.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
errorHandling_spec.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
export_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00
filters_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00
frontend_spec.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
import_spec.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
mail_spec.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
middleware_spec.js Wire permmissions for notifications, mail and tags 2014-07-17 16:44:09 +01:00
permissions_spec.js Extending context concept to models 2014-07-18 15:32:56 +01:00
server_helpers_index_spec.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
server_helpers_template_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00
server_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00
showdown_client_integrated_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00
showdown_ghostGFM_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00
showdown_ghostimagepreview_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00
storage_localfilesystem_spec.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
xmlrpc_spec.js Cleaning up the unit tests 2014-06-18 00:11:35 +01:00