diff options
Diffstat (limited to 'ext/win32ole/tests')
-rw-r--r-- | ext/win32ole/tests/testWIN32OLE.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/win32ole/tests/testWIN32OLE.rb b/ext/win32ole/tests/testWIN32OLE.rb index d0705093f3..379eca315d 100644 --- a/ext/win32ole/tests/testWIN32OLE.rb +++ b/ext/win32ole/tests/testWIN32OLE.rb @@ -223,6 +223,14 @@ class TestWin32OLE < RUNIT::TestCase book = workbooks.invoke( 'add' ) assert_instance_of(WIN32OLE, book) end + def test_ole_type + tobj = @excel.ole_type + assert_equal('_Application', tobj.name) + end + def test_ole_obj_help + tobj = @excel.ole_type + assert_equal('_Application', tobj.name) + end def test_ole_methods methods = @excel.ole_methods method_names = methods.collect{|m| m.name} |