Sha256: 7fafa127e2c24c8dcf4bf235b1f70259d37de35b4173d0a6aa4ae6f365f4b776

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 Bytes

Contents

require File.expand_path '../../test_helper', __dir__

# Test class for Data Disk Model
class TestDataDisk < Minitest::Test
  def setup
    @service = Fog::Storage::AzureRM.new(credentials)
    @data_disk = Fog::Storage::AzureRM::DataDisk.new
  end

  def test_model_attributes
    attributes = [
      :name,
      :disk_size_gb,
      :lun,
      :vhd_uri,
      :caching,
      :create_option
    ]
    attributes.each do |attribute|
      assert @data_disk.respond_to? attribute, true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-azure-rm-0.0.8 test/models/storage/test_data_disk.rb
fog-azure-rm-0.0.6 test/models/storage/test_data_disk.rb
fog-azure-rm-0.0.5 test/models/storage/test_data_disk.rb