spec/unit/loader/yaml_spec.rb in vagrant-config_builder-1.2.0 vs spec/unit/loader/yaml_spec.rb in vagrant-config_builder-1.3.0
- old
+ new
@@ -67,10 +67,10 @@
expect(config['boxes']).to have_key('box-a')
expect(config['boxes']).to have_key('box-b')
end
it 'concatenates subarrays' do
- expect(config['roles']['base']['private_networks']).to have(2).items
+ expect(config['roles']['base']['private_networks'].length).to eq(2)
end
end
end
end