From c38dac789d85d501e615b2ce66f8ec40232d73e7 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 9 Nov 2023 17:24:49 +0100 Subject: [PATCH] test: fix deprecation warning, a selector matcher must be a string or symbol --- spec/system/users/list_dossiers_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/users/list_dossiers_spec.rb b/spec/system/users/list_dossiers_spec.rb index bba0afdac..3f8938f9b 100644 --- a/spec/system/users/list_dossiers_spec.rb +++ b/spec/system/users/list_dossiers_spec.rb @@ -263,8 +263,8 @@ describe 'user access to the list of their dossiers', js: true do it "can be filtered by procedure and display the result - no item" do select dossier_brouillon.procedure.libelle, from: 'procedure_id' - expect(page).not_to have_link(dossier_en_construction.id) - expect(page).not_to have_link(dossier_with_champs.id) + expect(page).not_to have_link(String(dossier_en_construction.id)) + expect(page).not_to have_link(String(dossier_with_champs.id)) expect(page).to have_content("Résultat de la recherche pour « #{dossier_en_construction.champs_public.first.value} » et pour la procédure « #{dossier_brouillon.procedure.libelle} » ") expect(page).to have_text("Aucun dossier") end