Update spec/models/type_de_champ_shared_example.rb

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
This commit is contained in:
Paul Chavard 2020-07-08 17:27:24 +02:00 committed by Paul Chavard
parent a92320e246
commit 84ff75ed6b

View file

@ -99,7 +99,9 @@ shared_examples 'type_de_champ_spec' do
context 'when the target type_champ is not repetition' do
let(:target_type_champ) { TypeDeChamp.type_champs.fetch(:text) }
it { expect(tdc.types_de_champ).to be_empty }
it 'removes the children types de champ' do
expect(tdc.types_de_champ).to be_empty
end
end
end