test/integration/virtual_machine_extension.rb in fog-azure-rm-0.2.2 vs test/integration/virtual_machine_extension.rb in fog-azure-rm-0.2.3
- old
+ new
@@ -73,10 +73,10 @@
name: 'NetInt',
resource_group: 'TestRG-VME',
location: LOCATION,
subnet_id: "/subscriptions/#{azure_credentials['subscription_id']}/resourceGroups/TestRG-VME/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/mysubnet",
ip_configuration_name: 'testIpConfiguration',
- private_ip_allocation_method: 'Dynamic'
+ private_ip_allocation_method: Fog::Network::AzureRM::IPAllocationMethod::Dynamic
)
compute.servers.create(
name: 'TestVM',
location: LOCATION,