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.21.0 test/yao/resources/test_volume_type.rb
yao-0.20.0 test/yao/resources/test_volume_type.rb
yao-0.19.0 test/yao/resources/test_volume_type.rb
yao-0.18.0 test/yao/resources/test_volume_type.rb
yao-0.17.0 test/yao/resources/test_volume_type.rb
yao-0.16.0 test/yao/resources/test_volume_type.rb
yao-0.15.0 test/yao/resources/test_volume_type.rb
yao-0.14.0 test/yao/resources/test_volume_type.rb
yao-0.13.4 test/yao/resources/test_volume_type.rb
yao-0.13.3 test/yao/resources/test_volume_type.rb
yao-0.13.2 test/yao/resources/test_volume_type.rb
yao-0.13.1 test/yao/resources/test_volume_type.rb
yao-0.13.0 test/yao/resources/test_volume_type.rb
yao-0.12.0 test/yao/resources/test_volume_type.rb
yao-0.11.3 test/yao/resources/test_volume_type.rb
yao-0.11.2 test/yao/resources/test_volume_type.rb
yao-0.11.1 test/yao/resources/test_volume_type.rb
yao-0.11.0 test/yao/resources/test_volume_type.rb
yao-0.10.1 test/yao/resources/test_volume_type.rb
yao-0.10.0 test/yao/resources/test_volume_type.rb