Fix format prefill repetition

This commit is contained in:
Damien Le Thiec 2023-02-22 19:32:25 +01:00
parent cc2ec995d6
commit fbe4fe251a
16 changed files with 91 additions and 98 deletions

View file

@ -5,7 +5,7 @@ describe 'As an integrator:', js: true do
before { visit "/preremplir/#{procedure.path}" }
scenario 'I can read the procedure prefilling (aka public champs)' do
expect(page).to have_content(type_de_champ.to_typed_id)
expect(page).to have_content(type_de_champ.to_typed_id_for_query)
expect(page).to have_content(I18n.t("activerecord.attributes.type_de_champ.type_champs.#{type_de_champ.type_champ}"))
expect(page).to have_content(type_de_champ.libelle)
expect(page).to have_content(type_de_champ.description)