how to test sinatra app with session support
the following example开发者_高级运维 in rack-test sounds not works in sinatra 1.1.2
get '/url/path', nil, "rack.session" => {:key => "value"}
thanks
try disabling sessions in your test environment. This blog post has a good example: http://benprew.posterous.com/testing-sessions-with-sinatra
精彩评论