Jake Trent

Tag: Rack

Set Cookie on Rack Mock Request

Rack apps are generally straightforward to test because of their very basic public interface. But where do we put specific things, in this case, a cookie for the request, on that env argument it takes? Here’s one way.

Read more