Skip to content

Commit

Permalink
Merge commit '8aab0cdfed8883475f6c49a06d5614f8e05d2f45' into feature/…
Browse files Browse the repository at this point in the history
…import-2023-11-16
  • Loading branch information
maatinito committed Mar 7, 2024
2 parents a162238 + 8aab0cd commit 0697d28
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion app/views/instructeurs/dossiers/_header_bottom.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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))
4 changes: 1 addition & 3 deletions config/initializers/flipper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ def setup_features(features)
:attestation_v2,
:procedure_routage_api,
:groupe_instructeur_api_hack,
:rerouting,
:cojo_type_de_champ,
:sva,
:multi_line_routing
:sva
]

def database_exists?
Expand Down
2 changes: 0 additions & 2 deletions spec/models/dossier_assignment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
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,
Expand Down

0 comments on commit 0697d28

Please sign in to comment.