Sha256: 34116d586f9b5fd2881b8c28893e35a061541b7011624d4b4e346e860e82f205

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 Bytes

Contents

require "time"

class TestHypervisor < Test::Unit::TestCase
  def test_hypervisor
    params = {
      "status" => "enabled"
    }

    host = Yao::Hypervisor.new(params)
    assert_equal(host.enabled?, true)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yao-0.3.8 test/yao/resources/test_hypervisor.rb
yao-0.3.7 test/yao/resources/test_hypervisor.rb