1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove splat operator warning from ssl_test

- Removes following warning -

  `rails/actionpack/test/dispatch/ssl_test.rb:203: warning: `*' interpreted as argument prefix`.
This commit is contained in:
Prathamesh Sonpatki 2016-01-07 13:52:08 +05:30
parent 21dd85f1ee
commit 70e73e4d4c

View file

@ -199,7 +199,7 @@ class SecureCookiesTest < SSLTest
def test_cookies_as_not_secure_with_secure_cookies_disabled def test_cookies_as_not_secure_with_secure_cookies_disabled
get headers: { 'Set-Cookie' => DEFAULT }, ssl_options: { secure_cookies: false } get headers: { 'Set-Cookie' => DEFAULT }, ssl_options: { secure_cookies: false }
assert_cookies *DEFAULT.split("\n") assert_cookies(*DEFAULT.split("\n"))
end end
def test_no_cookies def test_no_cookies