Ghost/core/test/integration/model
Alan Richards 686aec7ab5 Post API response to use author not author_id
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
2014-04-22 02:13:33 -07:00
..
model_app_fields_spec.js Implements Models & Data API for Apps 2014-04-16 18:14:56 +02:00
model_app_settings_spec.js Implements Models & Data API for Apps 2014-04-16 18:14:56 +02:00
model_apps_spec.js Implements Models & Data API for Apps 2014-04-16 18:14:56 +02:00
model_permissions_spec.js Use current user in models 2014-04-16 18:20:09 +02:00
model_posts_spec.js Post API response to use author not author_id 2014-04-22 02:13:33 -07:00
model_roles_spec.js Use current user in models 2014-04-16 18:20:09 +02:00
model_settings_spec.js Use current user in models 2014-04-16 18:20:09 +02:00
model_tags_spec.js Use current user in models 2014-04-16 18:20:09 +02:00
model_users_spec.js Use current user in models 2014-04-16 18:20:09 +02:00