demarches-normaliennes/spec/controllers/champs
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
..
carte_controller_spec.rb Add decription to geo_area 2020-06-09 18:45:45 +02:00
dossier_link_controller_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
piece_justificative_controller_spec.rb controllers: disable explicit purge of invalid file 2020-07-07 18:03:56 +02:00
siret_controller_spec.rb models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00