mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
686aec7ab5
Closes #2608 - added toJSON method override for post model - in the event no expanded author relation is present the id will be used - removed author_id from expected response JSON for posts. - updated integration tests to check for existence or not of author and author_id |
||
---|---|---|
.. | ||
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 |