Sha256: 9d8df658f3204d900b4a600ad29df9affd0fad37d7bdc3d59bd5880956b6e7fc

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 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_respond_to @data_disk, attribute
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.1 test/models/storage/test_data_disk.rb
fog-azure-rm-0.1.0 test/models/storage/test_data_disk.rb
fog-azure-rm-0.0.9 test/models/storage/test_data_disk.rb