test/integration/application_gateway.rb in fog-azure-rm-0.2.2 vs test/integration/application_gateway.rb in fog-azure-rm-0.2.3

- old
+ new

@@ -66,11 +66,11 @@ network.public_ips.create( name: public_ip_name, resource_group: resource_group_name, location: LOCATION, - public_ip_allocation_method: 'Dynamic' + public_ip_allocation_method: Fog::Network::AzureRM::IPAllocationMethod::Dynamic ) ######################################################################################################################## ###################### Check for Application Gateway ###################### ######################################################################################################################## @@ -96,10 +96,10 @@ } ], frontend_ip_configurations: [ { name: 'frontendIpConfig', - private_ip_allocation_method: 'Dynamic', + private_ip_allocation_method: Fog::Network::AzureRM::IPAllocationMethod::Dynamic, public_ip_address_id: "/subscriptions/#{azure_credentials['subscription_id']}/resourcegroups/#{resource_group_name}/providers/Microsoft.Network/publicIPAddresses/#{public_ip_name}", private_ip_address: '10.0.1.5' } ], frontend_ports: [