Ghost/core/test/integration/model
Oliver Schneider 13adaec6e7 fix for page deletion not updating sitemap-page.xml
closes #5913

Sitemap deletion is based on the page.unpublished event. The previous
logic was always sending post.unpublished instead. If page or post
event is triggered is based on the ‘page’ attribute of the model. When
the destroyed handler all attributes are already cleared from the model
which makes this logic always fall back to post.

The fix is to move to the destroying event which still has all the
model values in place.
2015-10-12 09:26:26 +02:00
..
model_app-fields_spec.js Naming cleanup 2014-09-20 21:09:16 +02:00
model_app-settings_spec.js Naming cleanup 2014-09-20 21:09:16 +02:00
model_apps_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
model_permissions_spec.js Upgrade grunt-jscs to fix whitespace linting. 2015-04-30 16:14:19 -05:00
model_posts_spec.js fix for page deletion not updating sitemap-page.xml 2015-10-12 09:26:26 +02:00
model_roles_spec.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
model_settings_spec.js Don't rely on order of updates when editing multiple settings 2015-07-21 12:41:56 +02:00
model_tags_spec.js Maintain tag order for posts 2015-09-02 16:39:34 +01:00
model_users_spec.js Refactor changePassword and resetPassword 2015-07-07 22:03:17 +02:00