diff --git a/app/helpers/procedure_helper.rb b/app/helpers/procedure_helper.rb index 6eadece2f..92bae1271 100644 --- a/app/helpers/procedure_helper.rb +++ b/app/helpers/procedure_helper.rb @@ -64,8 +64,7 @@ module ProcedureHelper private TOGGLES = { - TypeDeChamp.type_champs.fetch(:integer_number) => :champ_integer_number?, - TypeDeChamp.type_champs.fetch(:repetition) => :champ_repetition? + TypeDeChamp.type_champs.fetch(:integer_number) => :champ_integer_number? } def types_de_champ_types diff --git a/config/features.rb b/config/features.rb index e650187ad..6e3dbf490 100644 --- a/config/features.rb +++ b/config/features.rb @@ -9,8 +9,6 @@ Flipflop.configure do group :champs do feature :champ_integer_number, title: "Champ nombre entier" - feature :champ_repetition, - title: "Bloc répétable" end feature :web_hook diff --git a/spec/features/new_administrateur/types_de_champ_spec.rb b/spec/features/new_administrateur/types_de_champ_spec.rb index 0fecd6759..be976ae47 100644 --- a/spec/features/new_administrateur/types_de_champ_spec.rb +++ b/spec/features/new_administrateur/types_de_champ_spec.rb @@ -5,7 +5,6 @@ feature 'As an administrateur I can edit types de champ', js: true do let(:procedure) { create(:procedure) } before do - Flipflop::FeatureSet.current.test!.switch!(:champ_repetition, true) login_as administrateur, scope: :administrateur visit champs_procedure_path(procedure) end