demarches-normaliennes/spec
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
..
controllers dossiers: avoid exceptions on invalid AASM transitions 2019-12-19 13:25:32 +01:00
factories Add Export Model 2019-12-18 13:13:15 +01:00
features app: hide IE11 deprecation banner during the strike 2019-12-04 17:32:04 +01:00
fixtures helpscout: use replies_sent to compute contact rate 2019-09-11 17:26:10 +02:00
helpers helpers: allow dossier_display_state to take a state as input 2019-12-19 13:22:40 +01:00
jobs Bug with time zone: Time.zone.today looses time_zone and may breaks database comparisons 2019-12-11 17:34:10 +01:00
lib ajout d'un test automatisé 2019-11-25 10:37:10 +01:00
mailers Routing: send emails to the right group 2019-12-16 17:47:08 +01:00
middlewares Use rack_attack_enabled? 2019-08-20 13:29:29 +02:00
models Add Export Model 2019-12-18 13:13:15 +01:00
policies champ_policy: allow instructeurs to access private annotations 2019-10-08 14:34:12 +02:00
serializers Dossier Factory: link procedure by defaut_groupe_instructeur 2019-09-03 06:47:02 +02:00
services Bug with time zone: Time.zone.today looses time_zone and may breaks database comparisons 2019-12-11 17:34:10 +01:00
support features: refactor the editor specs 2019-11-27 11:58:46 +01:00
views Simplify view 2019-12-18 13:13:15 +01:00
rails_helper.rb Bump development gems 2018-03-06 16:17:22 +01:00
spec_helper.rb Use webdrivers gem to keep webdrivers updated 2019-11-06 11:20:40 +01:00