test/integration/server.rb in fog-azure-rm-0.0.4 vs test/integration/server.rb in fog-azure-rm-0.0.5

- old
+ new

@@ -46,11 +46,13 @@ ) storage.storage_accounts.create( name: 'fogstorageac', location: 'eastus', - resource_group: 'TestRG-VM' + resource_group: 'TestRG-VM', + account_type: 'Standard', + replication: 'LRS' ) network.virtual_networks.create( name: 'testVnet', location: 'eastus', @@ -60,11 +62,11 @@ network.subnets.create( name: 'mysubnet', resource_group: 'TestRG-VM', virtual_network_name: 'testVnet', - address_prefix: '10.1.0.0/24' + address_prefix: '10.2.0.0/24' ) network.network_interfaces.create( name: 'NetInt', resource_group: 'TestRG-VM', @@ -124,13 +126,13 @@ ######################################################################################################################## ###################### CleanUp ###################### ######################################################################################################################## -nic = network.network_interfaces(resource_group: 'TestRG-VM').get('NetInt') +nic = network.network_interfaces.get('TestRG-VM', 'NetInt') nic.destroy -vnet = network.virtual_networks(resource_group: 'TestRG-VM').get('testVnet') +vnet = network.virtual_networks.get('TestRG-VM', 'testVnet') vnet.destroy storage = storage.storage_accounts(resource_group: 'TestRG-VM').get('fogstorageac') storage.destroy