feat(attestation): can reset draft attestation

This commit is contained in:
Colin Darie 2024-05-31 10:03:23 +02:00
parent a540f8dccb
commit cd07ee173f
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
5 changed files with 38 additions and 4 deletions

View file

@ -138,7 +138,6 @@ describe 'As an administrateur, I want to manage the procedures attestation',
expect(page).to have_field("Contenu du pied de page", with: "line1\nline2\nline3\nline4")
click_on "Publier"
expect(page).to have_text("Lattestation a été publiée")
expect(attestation.reload).to be_published
end