diff options
Diffstat (limited to 'spec/ruby/library/win32ole/win32ole_type/shared/name.rb')
-rw-r--r-- | spec/ruby/library/win32ole/win32ole_type/shared/name.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/win32ole/win32ole_type/shared/name.rb b/spec/ruby/library/win32ole/win32ole_type/shared/name.rb index 6484ef0ef8..6f37446b23 100644 --- a/spec/ruby/library/win32ole/win32ole_type/shared/name.rb +++ b/spec/ruby/library/win32ole/win32ole_type/shared/name.rb @@ -7,7 +7,7 @@ platform_is :windows do end it "raises ArgumentError if argument is given" do - lambda { @ole_type.send(@method, 1) }.should raise_error ArgumentError + -> { @ole_type.send(@method, 1) }.should raise_error ArgumentError end it "returns a String" do |