aboutsummaryrefslogtreecommitdiffstats
path: root/test/win32ole
diff options
context:
space:
mode:
authorarton <arton@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-03 11:45:17 +0000
committerarton <arton@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-03 11:45:17 +0000
commit4ad4083b164aa92c569a9ae54184ff804cded540 (patch)
treebf7eda5ce49f1851432f540f0e9f099d1e6e8734 /test/win32ole
parent67330643299bdaa16fbccefe8bb49b0929fff5fc (diff)
downloadruby-4ad4083b164aa92c569a9ae54184ff804cded540.tar.gz
Change creating shortcut verb to 'Link' [Bug #3339]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/win32ole')
-rw-r--r--test/win32ole/test_folderitem2_invokeverb.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/win32ole/test_folderitem2_invokeverb.rb b/test/win32ole/test_folderitem2_invokeverb.rb
index 89da49772c..7f42bc5b42 100644
--- a/test/win32ole/test_folderitem2_invokeverb.rb
+++ b/test/win32ole/test_folderitem2_invokeverb.rb
@@ -62,7 +62,12 @@ if defined?(WIN32OLE)
def test_invokeverb
# this test should run only when "Create Shortcut (&S)"
# is found in context menu,
+
+ # in Windows Vista (not tested), Windows 7
+ # The verb must be in English.
+ # Creating Shortcut is "Link"
if @shortcut
+ @shortcut = "Link"
links = find_link(@dummy_path)
assert_equal(0, links.size)