spec/rollout_spec.rb in rollout-2.4.4 vs spec/rollout_spec.rb in rollout-2.4.5

- old
+ new

@@ -603,9 +603,15 @@ expect(features[1].groups).to eq [:greeters] expect(features[2].name).to eq :signup expect(features[2].percentage).to eq 100 expect(features.size).to eq 3 end + + describe 'when given feature keys is empty' do + it 'returns empty array' do + expect(@rollout.multi_get(*[])).to match_array([]) + end + end end describe "#set_feature_data" do before do @rollout.set_feature_data(:chat, description: 'foo', release_date: 'bar')