Sha256: 0a0e6723837ea989aece1ee7f5c1ce46cb34de34f71d7730cdc22f676722ea7a

Contents?: true

Size: 501 Bytes

Versions: 29

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::Compute::AzureRM.new(credentials)
    @data_disk = Fog::Compute::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

29 entries across 29 versions & 3 rubygems

Version Path
fog-azure-rm-0.4.1 test/models/compute/test_data_disk.rb
fog-azure-rm-0.4.0 test/models/compute/test_data_disk.rb
fog-azure-rm-0.3.9 test/models/compute/test_data_disk.rb
fog-azure-rm-0.3.8 test/models/compute/test_data_disk.rb
fog-azure-rm-0.3.7 test/models/compute/test_data_disk.rb
fog-azure-rm-0.3.6 test/models/compute/test_data_disk.rb
fog-azure-rm-0.3.5 test/models/compute/test_data_disk.rb
fog-azure-rm-0.3.4 test/models/compute/test_data_disk.rb
fog-azure-rm-temp-0.0.4 test/models/compute/test_data_disk.rb