tests
This commit is contained in:
parent
016f3701d8
commit
92b4c31293
1 changed files with 8 additions and 0 deletions
|
@ -27,5 +27,13 @@ describe 'instructeurs/procedures/_list.html.haml', type: :view do
|
|||
it 'does not contain link to expiring dossiers within procedure' do
|
||||
expect(subject).to have_selector(%Q(a[href="#{instructeur_procedure_path(procedure, statut: 'expirant')}"]), count: 0)
|
||||
end
|
||||
|
||||
it 'contains copy link' do
|
||||
expect(subject).to have_selector('.fr-icon-clipboard-line')
|
||||
end
|
||||
|
||||
it 'contains procedure number' do
|
||||
expect(subject).to have_text(procedure.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue