test/test_helper.rb in fog-azure-rm-temp-0.0.1 vs test/test_helper.rb in fog-azure-rm-temp-0.0.2

- old
+ new

@@ -114,10 +114,12 @@ def availability_set(service) Fog::Compute::AzureRM::AvailabilitySet.new( name: 'availability-set', location: 'West US', resource_group: 'fog-test-rg', + is_managed: false, + sku_name: 'Classic', service: service ) end def resource_group(service) @@ -810,8 +812,29 @@ account_type: 'Premium_LRS', disk_size_gb: 1023, creation_data: { create_option: 'Empty' }, + service: service + ) +end + +def key_vault(service) + Fog::KeyVault::AzureRM::Vault.new( + name: 'key-vault', + location: 'East US', + resource_group_name: 'fog-test-rg', + sku_family: 'A', + sku_name: 'Standard', + access_policies: [ + { + tenant_id: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', + object_id: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', + permissions: { + keys: ['all'], + secrets: ['all'] + } + } + ], service: service ) end