0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/test/unit
Hannah Wolfe 882a2361ee
Moved apps to /services/ & moved individual tests (#9187)
refs #9178

* Moved app handling code into services/apps
  - Apps is a service, that allows for the App lifecycle 
  - /server/apps = contains internal apps 
   - /server/services/apps = contains code for managing/handling app life cycle, providing the proxy, etc
* Split apps service tests into separate files
* Moved internal app tests into test folders
    - Problem: Not all the tests in apps were unit tests, yet they were treated like they were in Gruntfile.js
    - Unit tests now live in /test/unit/apps
    - Route tests now live in /test/functional/routes/apps
    - Gruntfile.js has been updated to match
* Switch api.read usage for settingsCache
* Add tests to cover the basic App lifecycle
* Simplify some of the init logic
2017-10-30 12:31:04 +00:00
..
adapters 🐛 Fixed post scheduling (#8976) 2017-09-05 19:23:11 +01:00
api Support for attribute-based permissions (#9025) 2017-09-26 18:06:14 +02:00
apps Moved apps to /services/ & moved individual tests (#9187) 2017-10-30 12:31:04 +00:00
auth Removed defunct Ghost OAuth code (#9014) 2017-09-18 13:01:58 +01:00
config
controllers Group channel-handling code together 2017-10-25 18:48:47 +01:00
data/importer
helpers Moved fetching client out of our ghost_head helper (#9180) 2017-10-26 12:03:53 +02:00
mail Improved log output for welcome email error (#9016) 2017-09-19 14:24:20 +01:00
metadata 🐛 Fixed author helper not returning the correct url (#9102) 2017-10-05 13:50:55 +02:00
middleware Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
models/base
models_plugins Support filtering based on primary_tag (#9124) 2017-10-10 14:07:44 +02:00
permissions Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
services Moved apps to /services/ & moved individual tests (#9187) 2017-10-30 12:31:04 +00:00
settings 🐛 Theme name is point number (#9184) 2017-10-26 13:54:18 +02:00
sitemap
themes Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
utils 🐛 Fixed internal links converting to absolute URLs (#9143) 2017-10-18 17:54:17 +01:00
admin_spec.js
apps_filters_spec.js
errors_spec.js
exporter_spec.js
ghost_sdk_spec.js 🐛 Fixed api url for the ghost sdk (#9013) 2017-09-18 16:28:22 +01:00
migration_fixture_utils_spec.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
migration_spec.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
rss_spec.js Simplify config for channels (#9158) 2017-10-24 17:18:35 +01:00
server_utils_spec.js Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
social-urls_spec.js
utils_pipeline_spec.js
validation_spec.js Improved password validation rules (#9171) 2017-10-26 11:01:24 +01:00