Mailspring/spec-nylas/stores
Ben Gotow f6b5b7ea30 fix(T1251) When a returnsModel request returns a 404, unpersist the object
Summary:
Give DatabaseStore trigger payload a 'type' so that you can handle the deletion of objects (clear focus if the object is focused, know to remove it from database view)

Fix specs and add one for new DatabaseView => unpersist handler

Test Plan: Run new test case

Reviewers: evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D1639
2015-06-15 18:23:58 -07:00
..
contact-store-spec.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
database-store-spec.coffee fix(T1251) When a returnsModel request returns a 404, unpersist the object 2015-06-15 18:23:58 -07:00
draft-store-spec.coffee fix(draft-speed): Optimize draft creation and reduce scroll / focus delays 2015-06-05 11:38:30 -07:00
file-upload-store-spec.coffee feat(attachments): new attachments & uploads UI with img support 2015-06-11 12:04:52 -07:00
focused-contacts-store-spec.coffee fix(naming): Move atom/inbox/nilas refs to Nylas 2015-05-15 11:07:28 -07:00
focused-content-store-spec.coffee fix(thread-list): Narrow mode, and new selection rules for three-pane 2015-06-11 18:00:40 -07:00
focused-tag-store-spec.coffee refactor(utils): switch to regular underscore 2015-05-19 16:06:59 -07:00
metadata-store-spec.coffee fix(naming): Move atom/inbox/nilas refs to Nylas 2015-05-15 11:07:28 -07:00
namespace-store-spec.coffee fix(mailto): Handle mailto on application launch, populate NamespaceStore synchronously 2015-05-21 18:08:29 -07:00
task-queue-spec.coffee fix(asar): Support ASAR, and running of specs in prod builds 2015-05-21 14:41:30 -07:00