Skip to content

Commit ce801f4

Browse files
committed
Ensure the tempfile is fully closed.
1 parent 8deb2d2 commit ce801f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fixtures/async/http/a_protocol.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ def endpoint_options
305305
Tempfile.open do |tempfile|
306306
response.save(tempfile.path)
307307
expect(tempfile.read).to be == expected
308+
tempfile.close!
308309
end
309310
end
310311

0 commit comments

Comments
 (0)