Sha256: b586b9bb96adaa3dcc58a988d594f63e12cc54cb1bf85585fe42aa6b2ca56857

Contents?: true

Size: 501 Bytes

Versions: 18

Compression:

Stored size: 501 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

18 entries across 18 versions & 3 rubygems

Version Path
fog-azure-rm-temp-0.0.3 test/models/storage/test_data_disk.rb
fog-azure-rm-0.3.3 test/models/storage/test_data_disk.rb
fog-azure-rm-temp-0.0.2 test/models/storage/test_data_disk.rb
fog-azure-rm-temp-0.0.1 test/models/storage/test_data_disk.rb
fog-azure-rm-0.3.2 test/models/storage/test_data_disk.rb
fog-azure-rm-downgraded-0.3.1 test/models/storage/test_data_disk.rb
fog-azure-rm-0.3.1 test/models/storage/test_data_disk.rb
fog-azure-rm-downgraded-0.3.0 test/models/storage/test_data_disk.rb
fog-azure-rm-0.3.0 test/models/storage/test_data_disk.rb
fog-azure-rm-0.2.7 test/models/storage/test_data_disk.rb
fog-azure-rm-0.2.6 test/models/storage/test_data_disk.rb
fog-azure-rm-0.2.5 test/models/storage/test_data_disk.rb
fog-azure-rm-0.2.4 test/models/storage/test_data_disk.rb
fog-azure-rm-0.2.3 test/models/storage/test_data_disk.rb
fog-azure-rm-0.2.2 test/models/storage/test_data_disk.rb
fog-azure-rm-0.2.1 test/models/storage/test_data_disk.rb
fog-azure-rm-0.2.0 test/models/storage/test_data_disk.rb
fog-azure-rm-0.1.2 test/models/storage/test_data_disk.rb