0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/utils
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
..
fixtures Adds additional fields to apps schema. 2014-04-16 18:16:10 +02:00
api.js Post API response to use author not author_id 2014-04-22 02:13:33 -07:00
index.js Added and fixed permission tests 2014-04-16 18:22:22 +02:00