From 9f3650b12fab63d4f4c7d0d3cdffcf42869b160e Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Mon, 27 Aug 2018 22:24:07 +0200 Subject: [PATCH] Remove 2 months old call for suggestions --- app/views/new_user/dossiers/index.html.haml | 8 -------- spec/features/new_user/list_dossiers_spec.rb | 5 ----- 2 files changed, 13 deletions(-) diff --git a/app/views/new_user/dossiers/index.html.haml b/app/views/new_user/dossiers/index.html.haml index aecf834f0..e878a79fb 100644 --- a/app/views/new_user/dossiers/index.html.haml +++ b/app/views/new_user/dossiers/index.html.haml @@ -18,14 +18,6 @@ .container - if @dossiers.present? - - if @dossiers.total_pages >= 2 - .card.feedback - .card-title Nous avons redesigné la liste des dossiers. - %p - Une suggestion pour améliorer cette page ? Votre avis nous intéresse ! Écrivez-nous à - = mail_to CONTACT_EMAIL, CONTACT_EMAIL, subject: "Amélioration de la liste des dossiers" - \. - %table.table.dossiers-table.hoverable %thead %tr diff --git a/spec/features/new_user/list_dossiers_spec.rb b/spec/features/new_user/list_dossiers_spec.rb index 95e140763..a179581a0 100644 --- a/spec/features/new_user/list_dossiers_spec.rb +++ b/spec/features/new_user/list_dossiers_spec.rb @@ -59,11 +59,6 @@ describe 'user access to the list of his dossier' do page.click_link("Suivant") expect(page).to have_content(dossier_archived.procedure.libelle) end - - scenario 'the user sees a card asking for feedback' do - expect(page).to have_css('.card.feedback') - expect(page).to have_content(CONTACT_EMAIL) - end end describe "recherche" do