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

View file

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