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:
parent
00e5b736fb
commit
724ff50363
9 changed files with 28 additions and 28 deletions
|
@ -170,7 +170,7 @@ describe Users::DossiersController, type: :controller do
|
|||
end
|
||||
|
||||
context 'when the identite cannot be updated by the user' do
|
||||
let(:dossier) { create(:dossier, :for_individual, :en_instruction, user: user, procedure: procedure) }
|
||||
let(:dossier) { create(:dossier, :with_individual, :en_instruction, user: user, procedure: procedure) }
|
||||
let(:individual_params) { { gender: 'M', nom: 'Mouse', prenom: 'Mickey' } }
|
||||
|
||||
it 'redirects to the dossiers list' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue