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
1 changed files with 4 additions and 1 deletions

View File

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