demarches-normaliennes/spec/controllers/instructeurs
Pierre de La Morinerie 8eb295d67e dossiers: avoid exceptions on invalid AASM transitions
When attempting an invalid transition on a dossier, provide a meaningful
error message (instead of letting an `AASM::InvalidTransition` exception
propagate).

This handles not only the case where the same state is applied twice
(which was already handled manually), but all cases where the transition
is invalid.
2019-12-19 13:25:32 +01:00
..
avis_controller_spec.rb instructeurs: fix expert creation not to use Instructeur.email 2019-11-04 10:44:24 +01:00
dossiers_controller_spec.rb dossiers: avoid exceptions on invalid AASM transitions 2019-12-19 13:25:32 +01:00
groupe_instructeurs_controller_spec.rb instructeurs: alias instructeur.email 2019-11-04 10:44:24 +01:00
instructeur_controller_spec.rb Add Style/CollectionMethods to rubocop 2019-09-12 14:48:18 +02:00
procedures_controller_spec.rb Controller use new export model 2019-12-18 13:13:15 +01:00
recherche_controller_spec.rb Instructeur has_many procedures through groupe_instructeur 2019-09-02 11:41:12 +02:00