Skip to content

Commit

Permalink
Fix test to use #close_write.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Sep 10, 2024
1 parent 7d0d58c commit edbc869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async/http/faraday/adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def get_response(url = bound_url, path = '/index', adapter_options: {})
body.write("chunk#{i}")
end
ensure
body.close
body.close_write
end

Protocol::HTTP::Response[200, {}, body]
Expand Down

0 comments on commit edbc869

Please sign in to comment.