샘플
Validate whether multipart upload tempfiles are released after a `Rack::Test::UploadedFile` request.
sha256:a14b86443077e22fb1e37e4e417a197bcfe570346b6f012c640c26eb6bf10222
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Validate whether multipart upload tempfiles are released after a `Rack::Test::UploadedFile` request. HOW
- 패키지
- rack-test 2.2.0
- 환경
- ruby
- 생성일
- 2026-08-17T02:46:11Z
흔히 이렇게 알고 있다
A `Rack::Test::UploadedFile` sent through `post` is cleaned up by rack-test, so its backing tempfile is automatically closed when the request finishes.
이 샘플의 작성자가 여기서 개발자나 모델이 기대할 법한 내용으로 적어둔 것이다. 아래 계약이 실제로 실행된 것이다.
컨트랙트
- After a successful multipart `post`, the uploaded tempfile used by `Rack::Test::UploadedFile` remains open.
- The request can still return a 200 response while that tempfile is left open.
- The caller must call `tempfile.close` on the `Rack::Test::UploadedFile` object to release the handle.
파일
- Gemfile
- Gemfile.lock
- NOTES.md
- csx.json
- data/chunk.bin
- data_tmp_check.txt
- test/contract.rb
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9