app: remove procedure-estimated-fill-time feature-flag

The feature is now enabled for every procedure.

Ref #7338
This commit is contained in:
Pierre de La Morinerie 2022-05-31 16:58:03 +02:00
parent 1c940c700d
commit c1616adf8c
6 changed files with 18 additions and 34 deletions

View file

@ -8,6 +8,7 @@ describe 'shared/_procedure_description.html.haml', type: :view do
expect(rendered).to have_selector('.procedure-logos')
expect(rendered).to have_text(procedure.libelle)
expect(rendered).to have_text(procedure.description)
expect(rendered).to have_text('Temps de remplissage estimé')
end
it 'does not show empty date limite' do
@ -22,11 +23,4 @@ describe 'shared/_procedure_description.html.haml', type: :view do
expect(rendered).to have_text('Date limite')
end
end
context 'when the procedure_estimated_fill_duration feature is enabled' do
before { Flipper.enable(:procedure_estimated_fill_duration) }
after { Flipper.disable(:procedure_estimated_fill_duration) }
it { is_expected.to have_text('Temps de remplissage estimé') }
end
end