fix specs

This commit is contained in:
Lisa Durand 2024-07-22 12:15:55 +02:00
parent a0a9270a61
commit 95a8f1458b
No known key found for this signature in database
GPG key ID: 0DF91F2CA1E8B816
2 changed files with 1 additions and 4 deletions

View file

@ -96,7 +96,7 @@ describe 'users/dossiers/index', type: :view do
it 'affiche la barre donglets' do
expect(rendered).to have_selector('nav.fr-tabs')
expect(rendered).to have_selector('nav.fr-tabs li', count: 5)
expect(rendered).to have_selector('nav.fr-tabs li', count: 4)
expect(rendered).to have_selector('nav.fr-tabs li.active', count: 1)
end
end