summaryrefslogtreecommitdiff
path: root/spec/ruby/library/win32ole/win32ole_method/shared
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/win32ole/win32ole_method/shared')
-rw-r--r--spec/ruby/library/win32ole/win32ole_method/shared/name.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/win32ole/win32ole_method/shared/name.rb b/spec/ruby/library/win32ole/win32ole_method/shared/name.rb
index 2be6478a6e..ddaff4011b 100644
--- a/spec/ruby/library/win32ole/win32ole_method/shared/name.rb
+++ b/spec/ruby/library/win32ole/win32ole_method/shared/name.rb
@@ -8,7 +8,7 @@ platform_is :windows do
end
it "raises ArgumentError if argument is given" do
- lambda { @m_file_name.send(@method, 1) }.should raise_error ArgumentError
+ -> { @m_file_name.send(@method, 1) }.should raise_error ArgumentError
end
it "returns expected value for Scripting Runtime's 'name' method" do