Sha256: b82d8f1350f472cb5e73af28f9851e4e33564672c8e5cf0ccfc21dd46179deba

Contents?: true

Size: 384 Bytes

Versions: 22

Compression:

Stored size: 384 Bytes

Contents

class TestVolumeType < TestYaoResource
  def test_volume
    params = {
        'name' => 'test_volume',
        'description'=> 'this is test volume',
        'is_public' => true
    }

    volume = Yao::VolumeType.new(params)
    assert_equal(volume.name, 'test_volume')
    assert_equal(volume.description, 'this is test volume')
    assert_equal(volume.is_public, true)
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
yao-0.9.1 test/yao/resources/test_volume_type.rb
yao-0.9.0 test/yao/resources/test_volume_type.rb