1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Silence Rack::Session::Cookie warnings

This commit is contained in:
Patricio Mac Adden 2013-03-08 09:36:48 -03:00
parent 60179737be
commit 955b33a371

View file

@ -531,7 +531,10 @@ class HelpersTest < Test::Unit::TestCase
end
end
get '/'
# Silence warnings since Rack::Session::Cookie complains about the non-present session secret
silence_warnings do
get '/'
end
assert_body 'ok'
end