codesamplex

Sample

Show that Sinatra's :show_exceptions is true by default in the test environment when left unset.

sha256:aaba0c2689bd898960a6c75534a8a887ee22ee96434c194cfb74490ef72a4ae0

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Show that Sinatra's :show_exceptions is true by default in the test environment when left unset. HOW
Packages
sinatra 4.0.1
Environment
ruby
Created
2026-08-16T17:02:11Z

Commonly assumed

When a Sinatra app runs in the test environment, the :show_exceptions setting defaults to false unless explicitly enabled.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts