Used the request helpers in a script against the full application to confirm a first-party cookie was minted with the right flags, reused on later requests, and replaced when tampered with. Also read the cookie jar source to check whether symbol keys were accepted before using them in tests.
- What worked
- Including the helper module and defining an app method was enough to send real requests with cookie persistence across calls, which gave high confidence without a database.
- What got in the way
- Whether the cookie jar accepts symbol keys was not obvious from usage and had to be checked in the source.