rename 'Menu déroulant' in specs
This commit is contained in:
parent
3a9204af56
commit
f7d957e59a
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ FactoryBot.define do
|
|||
type_champ { TypeDeChamp.type_champs.fetch(:datetime) }
|
||||
end
|
||||
factory :type_de_champ_drop_down_list do
|
||||
libelle { 'Menu déroulant' }
|
||||
libelle { 'Choix parmi une liste' }
|
||||
type_champ { TypeDeChamp.type_champs.fetch(:drop_down_list) }
|
||||
drop_down_list_value { "val1\r\nval2\r\n--separateur--\r\nval3" }
|
||||
trait :long do
|
||||
|
|
|
@ -135,7 +135,7 @@ feature 'As an administrateur I can edit types de champ', js: true do
|
|||
it "Add dropdown champ" do
|
||||
add_champ
|
||||
|
||||
select('Menu déroulant', from: 'champ-0-type_champ')
|
||||
select('Choix parmi une liste', from: 'champ-0-type_champ')
|
||||
fill_in 'champ-0-libelle', with: 'Libellé de champ menu déroulant', fill_options: { clear: :backspace }
|
||||
fill_in 'champ-0-drop_down_list_value', with: 'Un menu', fill_options: { clear: :backspace }
|
||||
|
||||
|
|
Loading…
Reference in a new issue