Merge pull request #665 from patriciomacadden/silence_cookie_warning

Silence Rack::Session::Cookie warnings when running the tests
This commit is contained in:
Konstantin Haase 2013-03-08 05:14:34 -08:00
commit b70a68a404
1 changed files with 4 additions and 1 deletions

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