factories: rename dossier for_individual to with_individual

This clarifies the distinction between

```
create :procedure, :for_individual
```

and

```
create :dossier, :with_individual
```
This commit is contained in:
Pierre de La Morinerie 2020-01-07 17:47:22 +01:00
parent 00e5b736fb
commit 724ff50363
9 changed files with 28 additions and 28 deletions

View file

@ -589,7 +589,7 @@ describe Dossier do
end
context 'when there is an individual' do
let(:dossier) { create(:dossier, :for_individual, procedure: procedure) }
let(:dossier) { create(:dossier, :with_individual, procedure: procedure) }
it { is_expected.to eq("#{dossier.individual.nom} #{dossier.individual.prenom}") }
end