From 59835fe8650136364766d1a313fadab4f42c6b63 Mon Sep 17 00:00:00 2001 From: suke Date: Fri, 19 Jan 2007 15:17:56 +0000 Subject: 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 --- test/win32ole/test_word.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/win32ole/test_word.rb') 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 -- cgit v1.2.3