mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
337713ce63
no issue - Refactor all integration tests to specify and load ONLY the fixtures they require to run, rather than initialising the whole kit-and-kaboodle for every single test which takes FOREVER. - Refactor the route tests to share a doAuth function, and also specify additional fixtures required - Move import and export unit tests, which are actually integration tests (they touch the DB) - Comment out most of the permissions unit tests for now as they need more stubs/mocks so as to not touch the DB Still todo: - prevent default DB initialisation in route tests, and specify all fixtures requires as per the integration tests - fix up the unit/permissions_spec |
||
---|---|---|
.. | ||
model_app_fields_spec.js | ||
model_app_settings_spec.js | ||
model_apps_spec.js | ||
model_permissions_spec.js | ||
model_posts_spec.js | ||
model_roles_spec.js | ||
model_settings_spec.js | ||
model_tags_spec.js | ||
model_users_spec.js |