Sha256: 0f654b15c445a694a9c333cbe300a6d4288ca89553cd611ceba0c7fb6504908e

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

class TestVolume < 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

1 entries across 1 versions & 1 rubygems

Version Path
yao-0.7.0 test/yao/resources/test_volume.rb