aboutsummaryrefslogtreecommitdiffstats
path: root/test/win32ole/test_word.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/win32ole/test_word.rb')
-rw-r--r--test/win32ole/test_word.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/win32ole/test_word.rb b/test/win32ole/test_word.rb
index 53a6c521ba..2b455c6167 100644
--- a/test/win32ole/test_word.rb
+++ b/test/win32ole/test_word.rb
@@ -26,6 +26,14 @@ if defined?(WIN32OLE)
end
end
+ def test_s_connect
+ if @obj
+ obj2 = WIN32OLE.connect("Word.Application")
+ assert_instance_of(WIN32OLE, obj2)
+ obj2.visible = true
+ end
+ end
+
def teardown
if @obj
@obj.quit