app: remove procedure_dossier_papertrail feature flag

The feature is now enabled for all procedures.
This commit is contained in:
Pierre de La Morinerie 2022-05-18 14:27:26 +02:00
parent 6269a35d3a
commit 4fcb85fd65
5 changed files with 10 additions and 28 deletions

View file

@ -16,14 +16,9 @@ describe 'Dossier details:' do
expect(page).to have_text(dossier.commentaires.last.body)
end
context 'when the deposit receipt feature is enabled' do
before { Flipper.enable(:procedure_dossier_papertrail, procedure) }
after { Flipper.disable(:procedure_dossier_papertrail, procedure) }
it 'displays a link to download a deposit receipt' do
visit dossier_path(dossier)
expect(page).to have_link("Obtenir une attestation de dépôt de dossier", href: %r{dossiers/#{dossier.id}/papertrail.pdf})
end
scenario 'the user can download a deposit receipt' do
visit dossier_path(dossier)
expect(page).to have_link("Obtenir une attestation de dépôt de dossier", href: %r{dossiers/#{dossier.id}/papertrail.pdf})
end
describe "the user can see the mean time they are expected to wait" do