fix(dossier): use depose_at instead of en_construction_at

This commit is contained in:
Paul Chavard 2021-12-06 15:49:17 +01:00
parent 2bb013afaa
commit 2ba05bfb4f
33 changed files with 86 additions and 71 deletions

View file

@ -28,7 +28,7 @@ describe 'users/dossiers/demande.html.haml', type: :view do
it { is_expected.not_to have_link('Modifier le dossier') }
end
context 'when the dossier has no en_construction_at date' do
context 'when the dossier has no depose_at date' do
let(:dossier) { create(:dossier, :with_entreprise, procedure: procedure) }
it { expect(rendered).not_to have_text('Déposé le') }