demarches-normaliennes/spec
Pierre de La Morinerie a8354bd103 dossiers: unify deletion of dossiers between manager and user
The code paths for deleting a dossier were different, depending on
whether the dossier was deleted by the user, or from the Manager.

This commit unifies the two code paths into one.

This has the effect of:

- An operation log is now recorded when an user deletes its own dossier;
- Gestionnaires are now notified even when the dossier is deleted from
  the Manager;
- The `support:delete_user_account` task now requires the email address
  of the author.
2019-07-16 16:22:20 +02:00
..
controllers download a dossier as zip with all attachments 2019-07-16 09:11:25 +02:00
factories Better champs factories 2019-07-10 16:41:34 +02:00
features dossier: rename the "Submit" action 2019-07-15 17:18:28 +02:00
fixtures Add BillSignature Model 2019-06-17 16:16:28 +02:00
helpers Fix Commentaire factory so that the default case creates a valid object 2019-07-08 16:13:43 +02:00
jobs Official support for declarative demarches 2019-07-02 14:12:26 +02:00
lib download a dossier as zip with all attachments 2019-07-16 09:11:25 +02:00
mailers profile: send an email when the account is already taken 2019-07-10 11:31:09 +02:00
models dossiers: unify deletion of dossiers between manager and user 2019-07-16 16:22:20 +02:00
serializers Better champs factories 2019-07-10 16:41:34 +02:00
services download a dossier as zip with all attachments 2019-07-16 09:11:25 +02:00
support spec: refactor wait_for_ajax to work with out new ajax utils 2019-06-04 16:30:36 +02:00
uploaders [Fix #3016] Do not crash if PJ has no extension 2018-11-21 14:15:45 +01:00
views dossiers: always allow to create a new dossier 2019-07-09 14:44:30 +02:00
rails_helper.rb Bump development gems 2018-03-06 16:17:22 +01:00
spec_helper.rb brouillon_spec: fix the slow use of have_select(locator, selected: …) 2019-06-04 11:03:09 +02:00