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