summaryrefslogtreecommitdiff
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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/win32ole/test_word.rb b/test/win32ole/test_word.rb
index b1cdb273cc..34cfbbc2a4 100644
--- a/test/win32ole/test_word.rb
+++ b/test/win32ole/test_word.rb
@@ -35,13 +35,13 @@ if defined?(WIN32OLE)
class TestWIN32OLE_WITH_WORD < Test::Unit::TestCase
unless word_installed?
def test_dummy_for_skip_message
- skip "Microsoft Word is not installed"
+ omit "Microsoft Word is not installed"
end
else
def setup
begin
@obj = WIN32OLE.new('Word.Application')
- rescue WIN32OLERuntimeError
+ rescue WIN32OLE::RuntimeError
@obj = nil
end
end