Sha256: 99a52cca8714d1a79b6a13d831efefa966714cbd31f04a0b6129b99d7c0033cb
Contents?: true
Size: 746 Bytes
Versions: 91
Compression:
Stored size: 746 Bytes
Contents
Shindo.tests("HP::BlockStorage | bootable volumes", ['hp', 'block_storage', 'volumes']) do @base_image_id = ENV["BASE_IMAGE_ID"] || 1242 model_tests(HP[:block_storage].bootable_volumes, {:name => "fogbvoltests", :description => "fogbvoltests-desc", :size => 10, :image_id => @base_image_id}, true) tests("new volume") do @volume = HP[:block_storage].bootable_volumes.create(:name => "testbvol", :size => 10, :image_id => @base_image_id) @volume.wait_for { ready? } unless Fog.mocking? test("get(#{@volume.id})") do HP[:block_storage].bootable_volumes.get(@volume.id) != nil? end test("has_attachments?") do @volume.has_attachments? == false end after do @volume.destroy end end end
Version data entries
91 entries across 91 versions & 9 rubygems