2 # This is test for [ruby-Bugs#3237]
15 w = WIN32OLE.new('Word.Application')
30 dotest = word_installed?
32 STDERR.puts("\n#{__FILE__} skipped(Microsoft Word not found.)")
35 class TestWIN32OLE_WITH_WORD < Test::Unit::TestCase
38 @obj = WIN32OLE.new('Word.Application')
39 rescue WIN32OLERuntimeError
50 @obj.wordbasic.disableAutoMacros(true)
58 obj2 = WIN32OLE.connect("Word.Application")
59 assert_instance_of(WIN32OLE, obj2)