Ghost/core/test/unit/models/base
kirrg001 853b518a51 Sanitize incoming model relation data
refs #9548

- we always receive date strings from the client in ISO format
- we ensure that we transform these strings into JS dates for comparison
- when the client sends relations, we need to ensure that relations are checked as well
- will only work for the post model for now, because this is the only model which uses `bookshelf-relations`
- added unit tests
- removed some model tests, which do the same
2018-04-05 18:51:58 +02:00
..
index_spec.js Sanitize incoming model relation data 2018-04-05 18:51:58 +02:00
listeners_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00