Enable champ repetition for all

This commit is contained in:
Paul Chavard 2019-07-31 15:10:54 +02:00
parent 9eaf14968f
commit e68d2cf5e2
3 changed files with 1 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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