tests/openstack/requests/network/subnet_tests.rb in fog-1.32.0 vs tests/openstack/requests/network/subnet_tests.rb in fog-1.33.0
- old
+ new
@@ -36,11 +36,11 @@
end
tests('#update_subnet').formats({'subnet' => @subnet_format}) do
subnet_id = Fog::Network[:openstack].subnets.all.first.id
attributes = {:name => 'subnet_name', :gateway_ip => '10.2.2.1',
- :dns_nameservers => [], :host_routes => [],
- :enable_dhcp => true}
+ :allocation_pools => [], :dns_nameservers => [],
+ :host_routes => [], :enable_dhcp => true}
Fog::Network[:openstack].update_subnet(subnet_id, attributes).body
end
tests('#delete_subnet').succeeds do
subnet_id = Fog::Network[:openstack].subnets.all.first.id