Sha256: b985801cc74a1cefff328c7162411999401556350038d92f5fbca1bbffb784ab

Contents?: true

Size: 383 Bytes

Versions: 4

Compression:

Stored size: 383 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

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