CodeSampleX

サンプル

Show that Sinatra does not automatically delete uploaded tempfile after request

sha256:642785541c948ed29ed0bfef28fd354b3908b3e42d5b60ff220ab91e5a7a7f29

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Show that Sinatra does not automatically delete uploaded tempfile after request HOW
パッケージ
sinatra 4.2.1 rack-test 2.2.0
環境
ruby
作成日
2026-08-17T02:47:53Z

よくある思い込み

Sinatra automatically removes uploaded file temporary files after the request completes

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート