Sha256: 984502bb472834d4477982be59221a3227d281e20a6737a0796cc84799355b57

Contents?: true

Size: 384 Bytes

Versions: 1

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('test_volume', volume.name)
    assert_equal('this is test volume', volume.description)
    assert_equal(true, volume.is_public)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yao-0.8.0 test/yao/resources/test_volume_type.rb