diff options
Diffstat (limited to 'test/win32ole/test_win32ole_type_event.rb')
-rw-r--r-- | test/win32ole/test_win32ole_type_event.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/win32ole/test_win32ole_type_event.rb b/test/win32ole/test_win32ole_type_event.rb index ad2de54e59..5d1c9fc44c 100644 --- a/test/win32ole/test_win32ole_type_event.rb +++ b/test/win32ole/test_win32ole_type_event.rb @@ -6,18 +6,18 @@ end require 'test/unit' -if defined?(WIN32OLE_TYPE) +if defined?(WIN32OLE::Type) require_relative 'available_ole' class TestWIN32OLE_TYPE_EVENT < Test::Unit::TestCase unless AvailableOLE.sysmon_available? def test_dummy_for_skip_message - skip 'System Monitor Control is not available' + omit 'System Monitor Control is not available' end else def setup - @ole_type = WIN32OLE_TYPE.new('System Monitor Control', 'SystemMonitor') + @ole_type = WIN32OLE::Type.new('System Monitor Control', 'SystemMonitor') end def test_implemented_ole_types |