Update spec/models/type_de_champ_shared_example.rb
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
This commit is contained in:
parent
a92320e246
commit
84ff75ed6b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue