summaryrefslogtreecommitdiff
path: root/spec/ruby/library/win32ole/win32ole_param/input_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/win32ole/win32ole_param/input_spec.rb')
-rw-r--r--spec/ruby/library/win32ole/win32ole_param/input_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/win32ole/win32ole_param/input_spec.rb b/spec/ruby/library/win32ole/win32ole_param/input_spec.rb
index bdf4bccc79..a0022fef13 100644
--- a/spec/ruby/library/win32ole/win32ole_param/input_spec.rb
+++ b/spec/ruby/library/win32ole/win32ole_param/input_spec.rb
@@ -9,7 +9,7 @@ platform_is :windows do
end
it "raises ArgumentError if argument is given" do
- lambda { @param_overwritefiles.input?(1) }.should raise_error ArgumentError
+ -> { @param_overwritefiles.input?(1) }.should raise_error ArgumentError
end
it "returns true for 3rd parameter of FileSystemObject's 'CopyFile' method" do