Sha256: e5d2c21286cf251d8ec957f1326622870057d17401cd95c56a65cfa6a76e1198
Contents?: true
Size: 427 Bytes
Versions: 8
Compression:
Stored size: 427 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '..', 'test_helper') 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
8 entries across 8 versions & 1 rubygems