aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/library
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-12 08:45:20 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-12 08:45:20 +0000
commitfcd61427b6ef6cf141c6483907f7b1ddb5ad5cba (patch)
tree47c0ddf1796086ec167c36ca6814305b08d202ff /spec/rubyspec/library
parent706c1e24439aa4726f509ec661981c9c1e346099 (diff)
downloadruby-fcd61427b6ef6cf141c6483907f7b1ddb5ad5cba.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/library')
-rw-r--r--spec/rubyspec/library/win32ole/win32ole/_invoke_spec.rb2
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