mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
b2051dacf7
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 |
||
---|---|---|
.. | ||
advanced_browse_spec.js | ||
api_authentication_spec.js | ||
api_configuration_spec.js | ||
api_db_spec.js | ||
api_mail_spec.js | ||
api_notifications_spec.js | ||
api_posts_spec.js | ||
api_roles_spec.js | ||
api_settings_spec.js | ||
api_slugs_spec.js | ||
api_subscription_spec.js | ||
api_tags_spec.js | ||
api_themes_spec.js | ||
api_upload_spec.js | ||
api_users_spec.js |