From af37005b3306ae6ab4f51c837c9647e90c5c0753 Mon Sep 17 00:00:00 2001 From: Frederic Merizen Date: Mon, 11 Mar 2019 20:07:43 +0100 Subject: [PATCH] Fix test intermittent introduit par #3479 --- spec/features/new_gestionnaire/procedure_filters_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/features/new_gestionnaire/procedure_filters_spec.rb b/spec/features/new_gestionnaire/procedure_filters_spec.rb index 4ea68fa78..2868855c8 100644 --- a/spec/features/new_gestionnaire/procedure_filters_spec.rb +++ b/spec/features/new_gestionnaire/procedure_filters_spec.rb @@ -96,20 +96,20 @@ feature "procedure filters" do remove_filter(champ.value) within ".dossiers-table" do - expect(page).not_to have_link(new_unfollow_dossier.id) + expect(page).not_to have_link(new_unfollow_dossier.id, exact: true) expect(page).not_to have_link(new_unfollow_dossier.user.email) - expect(page).to have_link(new_unfollow_dossier_2.id) + expect(page).to have_link(new_unfollow_dossier_2.id, exact: true) expect(page).to have_link(new_unfollow_dossier_2.user.email) end remove_filter(champ_2.value) within ".dossiers-table" do - expect(page).to have_link(new_unfollow_dossier.id) + expect(page).to have_link(new_unfollow_dossier.id, exact: true) expect(page).to have_link(new_unfollow_dossier.user.email) - expect(page).to have_link(new_unfollow_dossier_2.id) + expect(page).to have_link(new_unfollow_dossier_2.id, exact: true) expect(page).to have_link(new_unfollow_dossier_2.user.email) end end