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:06 +02:00 committed by Paul Chavard
parent 660c95356b
commit d8e864a7d9

View file

@ -119,7 +119,7 @@ shared_examples 'type_de_champ_spec' do
context 'when the target type_champ is linked_drop_down_list' do
let(:target_type_champ) { TypeDeChamp.type_champs.fetch(:linked_drop_down_list) }
it { expect(tdc.drop_down_options).not_to be_nil }
it { expect(tdc.drop_down_options).to be_present }
end
context 'when the target type_champ is multiple_drop_down_list' do