fix: dépot => dépôt

This commit is contained in:
Colin Darie 2024-11-28 15:50:07 +01:00
parent 8ba2c5c5ff
commit adf75a9036
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
4 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ fr:
state: État du dossier state: État du dossier
created_at: Date de création created_at: Date de création
updated_at: Date du dernier évènement updated_at: Date du dernier évènement
depose_at: Date de dépot depose_at: Date de dépôt
en_construction_at: Date de passage en construction en_construction_at: Date de passage en construction
en_instruction_at: Date de passage en instruction en_instruction_at: Date de passage en instruction
processed_at: Date de traitement processed_at: Date de traitement

View file

@ -62,7 +62,7 @@ describe Columns::DossierColumn do
expect(procedure.find_column(label: "Association date de publication").value(dossier)).to eq(nil) expect(procedure.find_column(label: "Association date de publication").value(dossier)).to eq(nil)
expect(procedure.find_column(label: "Date de création").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone) expect(procedure.find_column(label: "Date de création").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone)
expect(procedure.find_column(label: "Date du dernier évènement").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone) expect(procedure.find_column(label: "Date du dernier évènement").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone)
expect(procedure.find_column(label: "Date de dépot").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone) expect(procedure.find_column(label: "Date de dépôt").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone)
expect(procedure.find_column(label: "Date de passage en construction").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone) expect(procedure.find_column(label: "Date de passage en construction").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone)
expect(procedure.find_column(label: "Date de passage en instruction").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone) expect(procedure.find_column(label: "Date de passage en instruction").value(dossier)).to be_an_instance_of(ActiveSupport::TimeWithZone)
expect(procedure.find_column(label: "Date de traitement").value(dossier)).to eq(nil) expect(procedure.find_column(label: "Date de traitement").value(dossier)).to eq(nil)

View file

@ -46,7 +46,7 @@ describe ColumnsConcern do
{ label: 'notifications', table: 'notifications', column: 'notifications', displayable: true, type: :text, filterable: false }, { label: 'notifications', table: 'notifications', column: 'notifications', displayable: true, type: :text, filterable: false },
{ label: 'Date de création', table: 'self', column: 'created_at', displayable: true, type: :date, filterable: true }, { label: 'Date de création', table: 'self', column: 'created_at', displayable: true, type: :date, filterable: true },
{ label: 'Mis à jour le', table: 'self', column: 'updated_at', displayable: true, type: :date, filterable: true }, { label: 'Mis à jour le', table: 'self', column: 'updated_at', displayable: true, type: :date, filterable: true },
{ label: 'Date de dépot', table: 'self', column: 'depose_at', displayable: true, type: :date, filterable: true }, { label: 'Date de dépôt', table: 'self', column: 'depose_at', displayable: true, type: :date, filterable: true },
{ label: 'En construction le', table: 'self', column: 'en_construction_at', displayable: true, type: :date, filterable: true }, { label: 'En construction le', table: 'self', column: 'en_construction_at', displayable: true, type: :date, filterable: true },
{ label: 'En instruction le', table: 'self', column: 'en_instruction_at', displayable: true, type: :date, filterable: true }, { label: 'En instruction le', table: 'self', column: 'en_instruction_at', displayable: true, type: :date, filterable: true },
{ label: 'Terminé le', table: 'self', column: 'processed_at', displayable: true, type: :date, filterable: true }, { label: 'Terminé le', table: 'self', column: 'processed_at', displayable: true, type: :date, filterable: true },
@ -242,7 +242,7 @@ describe ColumnsConcern do
procedure.find_column(label: "État du dossier"), procedure.find_column(label: "État du dossier"),
procedure.find_column(label: "Date du dernier évènement"), procedure.find_column(label: "Date du dernier évènement"),
procedure.find_column(label: "Date de dernière modification (usager)"), procedure.find_column(label: "Date de dernière modification (usager)"),
procedure.find_column(label: "Date de dépot"), procedure.find_column(label: "Date de dépôt"),
procedure.find_column(label: "Date de passage en instruction"), procedure.find_column(label: "Date de passage en instruction"),
procedure.find_column(label: "Date de traitement"), procedure.find_column(label: "Date de traitement"),
procedure.find_column(label: "Motivation de la décision"), procedure.find_column(label: "Motivation de la décision"),

View file

@ -94,7 +94,7 @@ describe DossierProjectionService do
end end
context 'for depose_at column' do context 'for depose_at column' do
let(:label) { 'Date de dépot' } let(:label) { 'Date de dépôt' }
let(:dossier) { create(:dossier, :en_construction, depose_at: Time.zone.local(2018, 10, 17), procedure:) } let(:dossier) { create(:dossier, :en_construction, depose_at: Time.zone.local(2018, 10, 17), procedure:) }
it { is_expected.to eq('17/10/2018') } it { is_expected.to eq('17/10/2018') }