Enable champ repetition for all
This commit is contained in:
parent
9eaf14968f
commit
e68d2cf5e2
3 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue