Sha256: 82a6e1382e05d3cfe40316878c06a1cb0ee35e97319b7261e66608484071a5ed
Contents?: true
Size: 418 Bytes
Versions: 13
Compression:
Stored size: 418 Bytes
Contents
require File.expand_path("../../../test_helper", __FILE__) class COMUtilTest < Test::Unit::TestCase setup do @klass = VirtualBox::COM::Util end context "checking for interfaces" do should "return true for existing interfaces" do assert @klass.interface?(:VirtualBox) end should "return false for non-existing interfaces" do assert !@klass.interface?(:IDontExist) end end end
Version data entries
13 entries across 13 versions & 3 rubygems