mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
fixes #6919, refs #6917 - resolves the problem by guarding for `tags` being undefined or null - If it is undefined, we don't do any tag processing - If it is null, we don't do any tag processing - To delete all tags, you would provide `tags: []` - adds tests at both the model (using withRelated) and API (using includes) layers - moves the tests for the post updateTags functionality from the tag model spec to the post model spec & cleans up a bit |
||
---|---|---|
.. | ||
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 |