demarches-normaliennes/spec/jobs
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
..
api_entreprise fetch effectifs mensuels for may month 2020-06-24 10:23:00 +02:00
administrateur_activate_before_expiration_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
application_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
auto_archive_procedure_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
declarative_procedures_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
find_dubious_procedures_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
tmp_dossiers_migrate_revisions_job_spec.rb fix active_revision_id -> active_revision.id 2020-07-23 15:07:25 +02:00
virus_scanner_job_spec.rb models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
weekly_overview_job_spec.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00