summaryrefslogtreecommitdiff
path: root/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb')
-rw-r--r--spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb b/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb
index 5488c4fd29..75748182fe 100644
--- a/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb
+++ b/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb
@@ -7,7 +7,7 @@ platform_is :windows do
end
it "raises ArgumentError if argument is given" do
- lambda { @dict.ole_func_methods(1) }.should raise_error ArgumentError
+ -> { @dict.ole_func_methods(1) }.should raise_error ArgumentError
end
it "returns an array of WIN32OLE_METHODs" do