rename 'Menu déroulant' in specs

This commit is contained in:
clemkeirua 2020-06-26 17:07:11 +02:00 committed by Pierre de La Morinerie (Rebase PR Action)
parent 3a9204af56
commit f7d957e59a
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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 }