Ghost/core/test/integration/model
kirrg001 02abe3862e Use bookshelf-relations for Permission model: roles
refs https://github.com/TryGhost/Ghost/pull/9592

- we add bookshelf-relations step by step if we need it
- with https://github.com/TryGhost/Ghost/pull/9592 we have rewritten the test env to use Bookshelf
  - this is important for our new url service
  - because the service is listening on model updates and updates the urls based on the model events
- so with moving to Bookshelf, we need any easy way to add relations
  - the test env inserts test fixtures
  - it adds permissions and each permission get's roles attached
  - `models.Permission.add({roles: [...]})
2018-04-25 12:27:39 +02:00
..
base Update Notification improvements (#9123) 2018-01-09 15:20:00 +01:00
model_accesstoken_spec.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
model_app-fields_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
model_app-settings_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
model_apps_spec.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
model_invite_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
model_permissions_spec.js Use bookshelf-relations for Permission model: roles 2018-04-25 12:27:39 +02:00
model_posts_spec.js Tests: balance featured and none featured posts 2018-04-14 10:32:03 +02:00
model_roles_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
model_settings_spec.js Import lib/common only 2017-12-12 10:28:13 +01:00
model_tags_spec.js Fixed transactions for Tag.destroy 2018-04-06 15:49:25 +02:00
model_users_spec.js Removed isNew usages in model layer 2018-02-15 22:11:49 +01:00