Sha256: 2f6a4c080edf363501615d34433b41a2446af59c9bc71eddff58a82e3418782a

Contents?: true

Size: 611 Bytes

Versions: 67

Compression:

Stored size: 611 Bytes

Contents

Shindo.tests("HP::BlockStorage | volume model", ['hp', 'v2', 'block_storage', 'volumes']) do

  model_tests(HP[:block_storage_v2].volumes, {:name => 'fogvol2tests', :description => 'fogvol2tests-desc', :size => 1}, true) do

    test("get(#{@instance.id})") do
      HP[:block_storage_v2].volumes.get(@instance.id) != nil?
    end

    test("update(#{@instance.id})") do
      @instance.name = 'fogvol2tests Updated'
      @instance.save
      @instance.reload
      @instance.name == 'fogvol2tests Updated'
    end

    test("has_attachments?") do
      @instance.has_attachments? == false
    end

  end

end

Version data entries

67 entries across 67 versions & 5 rubygems

Version Path
fog-1.38.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.37.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.36.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.35.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-2.0.0.pre.0 tests/hp/models/block_storage_v2/volume_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.34.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.33.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.32.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.31.0 tests/hp/models/block_storage_v2/volume_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.30.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.29.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.28.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.27.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.26.0 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.25.0 tests/hp/models/block_storage_v2/volume_tests.rb
nsidc-fog-1.24.1 tests/hp/models/block_storage_v2/volume_tests.rb
fog-1.24.0 tests/hp/models/block_storage_v2/volume_tests.rb
ns-fog-1.22.11 tests/hp/models/block_storage_v2/volume_tests.rb