diff --git a/app/views/users/dossiers/siret.html.haml b/app/views/users/dossiers/siret.html.haml
index 436e1076d..64bc5a761 100644
--- a/app/views/users/dossiers/siret.html.haml
+++ b/app/views/users/dossiers/siret.html.haml
@@ -2,7 +2,7 @@
- if !dossier_submission_is_closed?(@dossier)
= form_for current_user, url: siret_dossier_path(@dossier), html: { class: 'form', method: 'post' } do |f|
- %h2.huge-title Identifier votre établissement
+ %h2.fr-h4 Identifier votre établissement
%p.mb-1 Merci de remplir le numéro de SIRET de votre entreprise, administration ou association pour commencer la démarche.
diff --git a/spec/support/feature_matchers.rb b/spec/support/feature_matchers.rb
deleted file mode 100644
index b61c8beee..000000000
--- a/spec/support/feature_matchers.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-module Capybara
- class Session
- # Find the description of a procedure on the page
- # Usage: expect(page).to have_procedure_description(procedure)
- def has_procedure_description?(procedure)
- has_content?(procedure.libelle) && has_content?(procedure.description) && has_content?(procedure.service.email)
- end
- end
-end
diff --git a/spec/system/users/dossier_creation_spec.rb b/spec/system/users/dossier_creation_spec.rb
index c2fcbae6d..5f0bb56ce 100644
--- a/spec/system/users/dossier_creation_spec.rb
+++ b/spec/system/users/dossier_creation_spec.rb
@@ -19,7 +19,6 @@ describe 'Creating a new dossier:' do
click_on 'Commencer la démarche'
expect(page).to have_current_path identite_dossier_path(user.reload.dossiers.last)
- expect(page).to have_procedure_description(procedure)
expect(page).to have_title(libelle)
choose 'Monsieur'
@@ -91,7 +90,7 @@ describe 'Creating a new dossier:' do
click_on 'Commencer la démarche'
expect(page).to have_current_path siret_dossier_path(dossier)
- expect(page).to have_procedure_description(procedure)
+ expect(page).to have_content(procedure.libelle)
fill_in 'Numéro SIRET', with: siret
click_on 'Valider'
@@ -108,7 +107,7 @@ describe 'Creating a new dossier:' do
click_on 'Commencer la démarche'
expect(page).to have_current_path(siret_dossier_path(dossier))
- expect(page).to have_procedure_description(procedure)
+ expect(page).to have_content(procedure.libelle)
fill_in 'Numéro SIRET', with: '0000'
click_on 'Valider'