demarches-normaliennes/spec
Pierre de La Morinerie f131dbb80d instructeurs: make the create form not using email directly
Before the form attempted to read an email value from the Instructeur
model, and failed (because the empty Instructeur had no user yet).

We could let `Instructeur#email` return `nil` if there is no User –
but as a created Instructeur is always supposed to have a User, this
seems like a nice safeguard to keep.

So instead this commit rewrites the create form, which now doesn’t
depend on an Instructeur model. Seems easy enough for now.
2019-11-04 10:44:24 +01:00
..
controllers instructeurs: fix expert creation not to use Instructeur.email 2019-11-04 10:44:24 +01:00
factories Invite experts to linked dossiers 2019-10-23 13:10:09 +02:00
features instructeurs: make the create form not using email directly 2019-11-04 10:44:24 +01:00
fixtures helpscout: use replies_sent to compute contact rate 2019-09-11 17:26:10 +02:00
helpers fix dossier_linked_path in routed procedure 2019-10-23 21:47:20 +02:00
jobs [fix #4361] administrateur active 2019-10-24 18:32:48 +02:00
lib [fix #4361] administrateur active 2019-10-24 18:32:48 +02:00
mailers instructeurs: fix mailer previews not to use Instructeur.email 2019-11-04 10:44:24 +01:00
middlewares Use rack_attack_enabled? 2019-08-20 13:29:29 +02:00
models instructeurs: fix ProcedurePresentation to use instructeur.user.email 2019-11-04 10:44:24 +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 Add Entreprise raison sociale to dossier export 2019-10-31 17:11:46 +01:00
support specs: re-order method in feature helpers 2019-10-21 11:45:03 +02:00
views instructeurs: alias instructeur.email 2019-11-04 10:44:24 +01:00
rails_helper.rb Bump development gems 2018-03-06 16:17:22 +01:00
spec_helper.rb Migrate to flipper 2019-09-10 16:10:14 +02:00