demarches-normaliennes/spec
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
..
controllers models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
factories models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
features Specs adapted 2020-08-13 13:41:45 +00:00
fixtures create bilans_bdf_adapter 2020-04-30 16:15:16 +02:00
helpers models: require belong_to associations on individual 2020-08-18 15:57:37 +02:00
jobs models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
lib models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
mailers mailers: ignore more SMTP errors 2020-07-13 16:17:55 +02:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
policies policies: fix champ policy for guest users 2020-04-02 11:27:14 +02:00
serializers models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
services validate api_entreprise_token 2020-07-08 18:59:22 +02:00
support spec: replace reference to ds in password 2020-07-23 16:20:16 +02:00
views models: require belong_to associations on champ 2020-08-18 15:57:37 +02:00
rails_helper.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
spec_helper.rb renommage des tests 2020-07-21 17:13:28 +02:00