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:
parent
60179737be
commit
955b33a371
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue