Ghost/core/test
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
..
functional Tests: balance featured and none featured posts 2018-04-14 10:32:03 +02:00
integration Use bookshelf-relations for Permission model: roles 2018-04-25 12:27:39 +02:00
unit Use bookshelf-relations for Permission model: roles 2018-04-25 12:27:39 +02:00
utils Added unit tests for models.Invite.add 2018-04-25 11:56:45 +02:00
.eslintrc.json ESlint rule: no-multiple-empty-lines 2017-11-06 10:12:18 +00:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00