specs: rename Dossier's with_all_champs
to with_populated_champs
This better reflects what the trait is used for, and disambiguate it from the similarly named trait in the Procedure factory.
This commit is contained in:
parent
6c60c940d4
commit
b06183d7bf
8 changed files with 19 additions and 19 deletions
|
@ -1,10 +1,10 @@
|
|||
describe RechercheController, type: :controller do
|
||||
let(:dossier) { create(:dossier, :en_construction, :with_all_annotations) }
|
||||
let(:dossier) { create(:dossier, :en_construction, :with_populated_annotations) }
|
||||
let(:dossier2) { create(:dossier, :en_construction, procedure: dossier.procedure) }
|
||||
let(:instructeur) { create(:instructeur) }
|
||||
|
||||
let(:dossier_with_expert) { avis.dossier }
|
||||
let(:avis) { create(:avis, dossier: create(:dossier, :en_construction, :with_all_annotations)) }
|
||||
let(:avis) { create(:avis, dossier: create(:dossier, :en_construction, :with_populated_annotations)) }
|
||||
|
||||
let(:user) { instructeur.user }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue