From 660c95356b246e2f7dd192e910197cd467298b3b Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Wed, 8 Jul 2020 17:26:58 +0200 Subject: [PATCH] Update spec/models/type_de_champ_shared_example.rb Co-authored-by: Pierre de La Morinerie --- spec/models/type_de_champ_shared_example.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/type_de_champ_shared_example.rb b/spec/models/type_de_champ_shared_example.rb index ca0f6980c..fb1926dac 100644 --- a/spec/models/type_de_champ_shared_example.rb +++ b/spec/models/type_de_champ_shared_example.rb @@ -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