Sha256: 169d1ac670eef5054eeb45cb0807961ffd53a444180f01672dea75370fb841d8

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

class TestVolumeType < Test::Unit::TestCase
  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.7.0 test/yao/resources/test_volume_type.rb