0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/functional/routes/api
Jacob Gable a9cc252b45 Invalidate cache header only for published posts
Closes #1563

- Add new updatedAttributes() functionality to base models
- Update Post.edit(...) to pass along _updatedAttributes values
- Update Post.delete to set statusChanged to true
- Add checking for statusChanged to cacheInvalidationHeader()
- Update route tests that check for cache invalidation header
2014-04-23 09:28:45 -05:00
..
error_test.js Refactor the API route tests to use supertest 2014-04-07 15:40:20 +01:00
posts_test.js Invalidate cache header only for published posts 2014-04-23 09:28:45 -05:00
settings_test.js Refactor the API route tests to use supertest 2014-04-07 15:40:20 +01:00
tags_test.js Tag API: Primary Document Format 2014-04-20 19:48:59 -05:00
users_test.js Refactor the API route tests to use supertest 2014-04-07 15:40:20 +01:00