demarches-normaliennes/spec/controllers/instructeurs
Pierre de La Morinerie 6328011f60 models: require belong_to associations on champ
- Make `champ.dossier` a requirement;
- Move the dossier_id assignation to `before_validation` (otherwise
the record is invalid, and never gets saved);
- Allow specs to only build the champ (instead of saving it to the
database), which bypasses the requirement to have a dossier.
2020-08-18 15:57:37 +02:00
..
avis_controller_spec.rb update dossier after saving avis 2020-07-30 10:18:44 +02:00
dossiers_controller_spec.rb models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
groupe_instructeurs_controller_spec.rb instructeurs: alias instructeur.email 2019-11-04 10:44:24 +01:00
instructeur_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
procedures_controller_spec.rb config: flip action_dispatch_return_only_media_type_on_content_type 2020-08-05 16:48:36 +02:00
recherche_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00