How to test Sinatra application which is using session?
get "/", {}, {\'rack.session\' => { \'foo\' => \'blah\' } }
This cod
Like Philip suggested, it would work better to manually set the session variable before the get request.
session[:foo] = 'blah' get "/"