Sha256: 43cc75a08bda4cff214921b826581f8bd80df69c7c2076a2d8cb2f6070a3c527

Contents?: true

Size: 248 Bytes

Versions: 4

Compression:

Stored size: 248 Bytes

Contents

class TestRole < Test::Unit::TestCase
  def test_volume
    params = {
        'name' => 'cinder',
        'size' => 10
    }

    volume = Yao::Volume.new(params)
    assert_equal('cinder', volume.name)
    assert_equal(10, volume.size)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yao-0.6.3 test/yao/resources/test_volume.rb
yao-0.6.2 test/yao/resources/test_volume.rb
yao-0.6.1 test/yao/resources/test_volume.rb
yao-0.6.0 test/yao/resources/test_volume.rb