From f4fffbfe7083f5cbef2674767b33d25dd91e3441 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 12 May 2017 08:45:20 +0000 Subject: [PATCH] The title of "Desktop" may be localized * spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb: the title of "Desktop" may be localized. then, use "System32" because it seems not to be localized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb b/spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb index 7a6a771014..c2fe9a8490 100644 --- a/spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb +++ b/spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb @@ -15,7 +15,7 @@ platform_is :windows do end it "dispatches the method bound to a specific ID" do - @shell._invoke(0x60020002, [0], [WIN32OLE::VARIANT::VT_VARIANT]).title.should =~ /Desktop/i + @shell._invoke(0x60020002, [37], [WIN32OLE::VARIANT::VT_VARIANT]).title.should =~ /System32/i end end