fix display in view and export if answer is 'no'

This commit is contained in:
Lisa Durand 2023-03-22 11:56:52 +01:00
parent a01564adcd
commit aa9c94a20e
4 changed files with 7 additions and 3 deletions

View file

@ -110,6 +110,10 @@ describe 'Inviting an expert:' do
expect(page).to have_content('Ma réponse dexpert.')
expect(page).to have_content('non')
click_on 'Voir les avis'
expect(page).to have_text('Vous')
expect(page).to have_text('non')
within('.breadcrumbs') { click_on 'Avis' }
expect(page).to have_text('1 avis donné')
end