Permalink
Browse files

Merge pull request #665 from patriciomacadden/silence_cookie_warning

Silence Rack::Session::Cookie warnings when running the tests
  • Loading branch information...
2 parents 6017973 + 955b33a commit b70a68a404496634a2a889351ddd460872fd7fc5 @rkh rkh committed Mar 8, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/helpers_test.rb
View
@@ -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 b70a68a

Please sign in to comment.