Merge pull request #9707 from demarches-simplifiees/remove-routing-feature-flags

Tech : supprime des features flags liés au routage
This commit is contained in:
Paul Chavard 2023-11-15 09:23:00 +00:00 committed by GitHub
commit 8aab0cdfed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 8 deletions

View file

@ -28,5 +28,4 @@
%td.operator= operator_tag(operator_name, targeted_champ, row_index)
%td.value= right_operand_tag(targeted_champ, value, row_index)
%td.delete-column= delete_condition_tag(row_index)
- if @groupe_instructeur.procedure.feature_enabled?(:multi_line_routing)
.flex.justify-end.mt-2= add_condition_tag
.flex.justify-end.mt-2= add_condition_tag

View file

@ -23,6 +23,6 @@
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.involved_persons'),
personnes_impliquees_instructeur_dossier_path(dossier.procedure, dossier))
- if dossier.procedure.routing_enabled? && dossier.procedure.feature_enabled?(:rerouting)
- if dossier.procedure.routing_enabled?
= dynamic_tab_item(t('views.instructeurs.dossiers.tab_steps.reaffectation'),
reaffectation_instructeur_dossier_path(dossier.procedure, dossier))

View file

@ -18,10 +18,8 @@ features = [
:hide_instructeur_email,
:procedure_routage_api,
:groupe_instructeur_api_hack,
:rerouting,
:cojo_type_de_champ,
:sva,
:multi_line_routing
:sva
]
def database_exists?

View file

@ -3,8 +3,6 @@ require 'rails_helper'
RSpec.describe DossierAssignment, type: :model do
include Logic
before { Flipper.enable(:routing_rules, procedure) }
context 'Assignment from routing engine' do
let(:procedure) do
create(:procedure,