diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-12 08:45:20 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-12 08:45:20 +0000 |
commit | f4fffbfe7083f5cbef2674767b33d25dd91e3441 (patch) | |
tree | 47c0ddf1796086ec167c36ca6814305b08d202ff /spec/rubyspec | |
parent | 877d1dd1e7e880652d3f329eb0b4b694319d099e (diff) | |
download | ruby-f4fffbfe7083f5cbef2674767b33d25dd91e3441.tar.gz |
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
Diffstat (limited to 'spec/rubyspec')
-rw-r--r-- | spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |