Sha256: 6bf7c003ba8f9b46941846a0a511c45a6fc9c65497c5fc3bcb5f0a6eb85c4a35

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

$: << File.join(File.dirname(__FILE__),"..","lib")

require "test/unit"
require "cim"

class QualifierTest < Test::Unit::TestCase
  def test_key
    q = CIM::QualifierDeclaration.new :key, :bool
    assert q
  end
  def test_raise
    assert_raise RuntimeError do
      CIM::Qualifier.new(:unknown)
    end  
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cim-0.5.0 test/test_qualifier.rb
cim-0.3.0 test/test_qualifier.rb