feat(instruction options management): add routable champs by category
This commit is contained in:
parent
264594fd58
commit
d979bf6c68
5 changed files with 24 additions and 8 deletions
|
@ -475,4 +475,10 @@ describe TypeDeChamp do
|
|||
it { expect(subject).to eq('') }
|
||||
end
|
||||
end
|
||||
|
||||
describe '#humanized_conditionable_types_by_category' do
|
||||
subject { TypeDeChamp.humanized_conditionable_types_by_category }
|
||||
|
||||
it { is_expected.to eq([["« Oui/Non »", "« Case à cocher seule »", "« Choix simple »", "« Choix multiple »"], ["« Nombre entier »", "« Nombre décimal »"], ["« Communes »", "« EPCI »", "« Départements »", "« Régions »", "« Adresse »", "« Pays »"]]) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue