Fix format prefill repetition
This commit is contained in:
parent
cc2ec995d6
commit
fbe4fe251a
16 changed files with 91 additions and 98 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue