Ghost/core/test/integration/model
Katharina Irrgang fb79f24316
Fixed model events and transactions (#9524)
no issue

- if multiple queries run in a transaction, the model events are triggered before the txn finished
- if the txn rolls back, the events are anyway emitted
- the events are triggered too early
- solution:
  - `emitChange` needs to detect that a transaction is happening
  - it listens on a txn event to determine if events should be triggered
2018-04-06 18:19:45 +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 Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
model_posts_spec.js Fixed model events and transactions (#9524) 2018-04-06 18:19:45 +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