From 4cbaddcf8c61f411d54c2e7799e234972dd382ed Mon Sep 17 00:00:00 2001 From: suke Date: Sat, 6 Nov 2004 11:42:35 +0000 Subject: * ext/win32ole/win32ole.c: rename WIN32OLE#ole_obj_help to WIN32OLE#ole_type. alias ole_obj_help to ole_type. * ext/win32ole/tests/testWIN32OLE.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/win32ole/tests/testWIN32OLE.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ext/win32ole/tests') 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} -- cgit v1.2.3