aboutsummaryrefslogtreecommitdiffstats
path: root/test/win32ole/test_word.rb
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-01-19 15:17:56 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-01-19 15:17:56 +0000
commit59835fe8650136364766d1a313fadab4f42c6b63 (patch)
tree155abef1ef7e23de60639711c8ac1b368467ef05 /test/win32ole/test_word.rb
parente538fe570388fb5b596f4799eed1eca6441c22dd (diff)
downloadruby-59835fe8650136364766d1a313fadab4f42c6b63.tar.gz
move some test from ext/win32ole/tests to test/win32ole
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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