Permalink
Browse files

Silence Rack::Session::Cookie warnings

  • Loading branch information...
1 parent 6017973 commit 955b33a371ff4511d9c66a4ed6a43b5c73c13f98 @patriciomacadden patriciomacadden committed Mar 8, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/helpers_test.rb
@@ -531,7 +531,10 @@ def status_app(code, &block)
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

0 comments on commit 955b33a

Please sign in to comment.