demarches-normaliennes/spec/serializers
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
..
champ_serializer_spec.rb Remove legacy carto code 2020-05-13 12:17:04 +02:00
dossier_serializer_spec.rb models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
dossiers_serializer_spec.rb [fix #2777] DossiersSerializer: add state 2018-10-08 18:36:49 +02:00
individual_serializer_spec.rb Dossier Factory: link procedure by defaut_groupe_instructeur 2019-09-03 06:47:02 +02:00
procedure_serializer_spec.rb model: remove support for cloning procedures with old pj 2019-07-30 16:11:17 +02:00