From ae0e98ce1d1c6835014800e0cb57ef17c1256cbb Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 22 Sep 2018 23:52:58 +0000 Subject: Skip a cleanup if new_ole failed On Appveyor, WIN32OLE sometimes fails due to a system shutdown, and `@ie` is not assigned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/ruby/library/win32ole/win32ole') 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 f625a4d925..8a510519f2 100644 --- a/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb +++ b/spec/ruby/library/win32ole/win32ole/ole_func_methods_spec.rb @@ -9,7 +9,7 @@ platform_is :windows do end after :each do - @ie.Quit + @ie.Quit if @ie end it "raises ArgumentError if argument is given" do -- cgit v1.2.3