Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #665 from patriciomacadden/silence_cookie_warning

Silence Rack::Session::Cookie warnings when running the tests
  • Loading branch information...
commit b70a68a404496634a2a889351ddd460872fd7fc5 2 parents 6017973 + 955b33a
Konstantin Haase rkh authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/helpers_test.rb
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.