Ghost/core/test/integration
Hannah Wolfe b2051dacf7 Fix post model deletes tags when editing post only
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
2016-06-02 22:52:34 +01:00
..
api Fix post model deletes tags when editing post only 2016-06-02 22:52:34 +01:00
model Fix post model deletes tags when editing post only 2016-06-02 22:52:34 +01:00
export_spec.js Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
import_spec.js Revert "Force UTC at process level" 2016-06-02 14:38:02 +01:00
migration_spec.js Pre-populate setup values from config 2016-05-11 19:30:56 +02:00
update_check_spec.js fix: update_check_spec setup, serve-shared-file_spec setup 2016-04-14 18:24:53 +02:00