one less indirection

This commit is contained in:
simon lehericey 2024-09-13 17:22:08 +02:00
parent f046f31dcc
commit 2f64fe5e4c
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
16 changed files with 35 additions and 35 deletions

View file

@ -85,7 +85,7 @@ describe 'shared/dossiers/edit', type: :view do
let(:types_de_champ_public) { [{ type: :multiple_drop_down_list, options: }] }
let(:champ) { dossier.champs.first }
let(:type_de_champ) { champ.type_de_champ }
let(:options) { type_de_champ.drop_down_list_options }
let(:options) { type_de_champ.drop_down_options }
let(:enabled_options) { type_de_champ.drop_down_list_enabled_non_empty_options }
context 'when the list is short' do