Sha256: b20e04e84ae4ccf9156f5b55c7a734a6d3728a1e26e9c1f50bb47e86544b6b1c
Contents?: true
Size: 796 Bytes
Versions: 4
Compression:
Stored size: 796 Bytes
Contents
require File.expand_path '../../test_helper', __dir__ # Test class for Vault Model class TestVault < Minitest::Test def setup @service = Fog::KeyVault::AzureRM.new(credentials) @vault = key_vault(@service) end def test_model_attributes attributes = [ :name, :id, :resource_group, :location, :vault_uri, :tenant_id, :sku_family, :sku_name, :access_policies, :enabled_for_deployment, :enabled_for_disk_encryption, :enabled_for_template_deployment ] attributes.each do |attribute| assert_respond_to @vault, attribute end end def test_model_methods methods = [ :save, :destroy ] methods.each do |method| assert_respond_to @vault, method end end end
Version data entries
4 entries across 4 versions & 2 rubygems