Fix tests involving attachment urls
This commit is contained in:
parent
785a09b326
commit
c6326bfa77
10 changed files with 14 additions and 13 deletions
|
@ -17,7 +17,7 @@ describe 'users/dossiers/brouillon.html.haml', type: :view do
|
|||
end
|
||||
|
||||
it 'affiche un lien vers la notice' do
|
||||
expect(rendered).to have_link("Guide de la démarche", href: url_for(procedure.notice))
|
||||
expect(response).to have_css("a[href*='/rails/active_storage/blobs/']", text: "Guide de la démarche")
|
||||
end
|
||||
|
||||
it 'affiche les boutons de validation' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue