Silence Rack::Session::Cookie warnings
This commit is contained in:
parent
60179737be
commit
955b33a371
|
@ -531,7 +531,10 @@ class HelpersTest < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/'
|
# Silence warnings since Rack::Session::Cookie complains about the non-present session secret
|
||||||
|
silence_warnings do
|
||||||
|
get '/'
|
||||||
|
end
|
||||||
assert_body 'ok'
|
assert_body 'ok'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue