From 51a35a321eaa636ebed589340c1c9c1449c5ce56 Mon Sep 17 00:00:00 2001 From: Mathieu Magnin Date: Fri, 29 Nov 2024 17:43:22 +0100 Subject: [PATCH] Uniformisation wording : assigner => affecter --- app/views/administrateurs/services/index.html.haml | 2 +- spec/system/administrateurs/procedure_cloning_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/administrateurs/services/index.html.haml b/app/views/administrateurs/services/index.html.haml index b0532b69b..5d89e3176 100644 --- a/app/views/administrateurs/services/index.html.haml +++ b/app/views/administrateurs/services/index.html.haml @@ -30,7 +30,7 @@ %p.fr-badge.fr-badge--success.fr-badge--sm ASSIGNÉ - else - = button_to "Assigner", add_to_procedure_admin_services_path(procedure: { id: @procedure.id, service_id: service.id, }), method: :patch, class: 'fr-btn fr-btn--sm fr-btn--secondary fr-btn--icon-left fr-icon-checkbox-circle-line' + = button_to "Affecter", add_to_procedure_admin_services_path(procedure: { id: @procedure.id, service_id: service.id, }), method: :patch, class: 'fr-btn fr-btn--sm fr-btn--secondary fr-btn--icon-left fr-icon-checkbox-circle-line' .fr-col-4 = link_to('Modifier', edit_admin_service_path(service, procedure_id: @procedure.id), class: 'fr-btn fr-btn--sm fr-btn--secondary fr-btn--icon-left fr-icon-pencil-line') .fr-col-4 diff --git a/spec/system/administrateurs/procedure_cloning_spec.rb b/spec/system/administrateurs/procedure_cloning_spec.rb index c41e0a962..b013e925c 100644 --- a/spec/system/administrateurs/procedure_cloning_spec.rb +++ b/spec/system/administrateurs/procedure_cloning_spec.rb @@ -45,7 +45,7 @@ describe 'As an administrateur I wanna clone a procedure', js: true do # select service find("#service .fr-btn").click - click_on "Assigner" + click_on "Affecter" # select zone find("#zones .fr-btn").click @@ -83,7 +83,7 @@ describe 'As an administrateur I wanna clone a procedure', js: true do # select service find("#service .fr-btn").click - click_on "Assigner" + click_on "Affecter" # select zone find("#zones .fr-btn").click