spec/acfs/resource/attributes/dict_spec.rb in acfs-0.46.0 vs spec/acfs/resource/attributes/dict_spec.rb in acfs-0.47.0

- old
+ new

@@ -11,15 +11,15 @@ it { expect(subject.call).to eq nil } end context 'with blank string (I)' do let(:value) { '' } - it { expect(subject.call).to eq nil } + it { expect(subject.call).to eq Hash.new } end context 'with blank string (II)' do let(:value) { " \t" } - it { expect(subject.call).to eq nil } + it { expect(subject.call).to eq Hash.new } end context 'with hash' do let(:value) { {3 => true, abc: 4} } it { expect(subject.call).to eq value }