summaryrefslogtreecommitdiff
path: root/ext/win32ole/tests/testOLEPARAM.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32ole/tests/testOLEPARAM.rb')
-rw-r--r--ext/win32ole/tests/testOLEPARAM.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/win32ole/tests/testOLEPARAM.rb b/ext/win32ole/tests/testOLEPARAM.rb
index 685b548aa5..4014fadbfc 100644
--- a/ext/win32ole/tests/testOLEPARAM.rb
+++ b/ext/win32ole/tests/testOLEPARAM.rb
@@ -62,13 +62,4 @@ class TestOLEPARAM < RUNIT::TestCase
f = methods.find {|m| m.name == 'SaveAs'}
assert(f.params[0].optional?)
end
- def test_ole_type_detail
- classes = WIN32OLE_TYPE.ole_classes(MS_EXCEL_TYPELIB)
- methods = classes.find {|c| c.name == 'Worksheet'}.ole_methods
- f = methods.find {|m| m.name == 'SaveAs'}
- assert_equal(nil, f.params[0].default)
- methods = classes.find {|c| c.name == 'Workbook'}.ole_methods
- f = methods.find {|m| m.name == 'SaveAs'}
- assert_equal(1, f.params[6].default)
- end
end