Skip to content

Commit cdd6ff7

Browse files
committed
Only try once for spec which should throw WIN32OLERuntimeError
* https://ci.appveyor.com/project/eregon/spec-x948i/builds/20595707/job/0othk8uo8s0e6a97
1 parent 3ca8cea commit cdd6ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/win32ole/win32ole/new_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
end
1818

1919
it "raises WIN32OLERuntimeError if invalid string is given" do
20-
lambda { WIN32OLESpecs.new_ole('foo') }.should raise_error( WIN32OLERuntimeError )
20+
lambda { WIN32OLE.new('foo') }.should raise_error( WIN32OLERuntimeError )
2121
end
2222

2323
end

0 commit comments

Comments
 (0)