Merge pull request #38422 from vipulnsward/fix-wrong-spec

Fix wrong spec asserting headers maintain original definition
This commit is contained in:
Kasper Timm Hansen 2020-02-10 01:40:09 +01:00 committed by GitHub
commit f3eaddb734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class SecureCookiesTest < SSLTest
end
def test_keeps_original_headers_behavior
get headers: { "Connection" => %w[close] }
get headers: { "Connection" => "close" }
assert_equal "close", response.headers["Connection"]
end
end