Merge pull request #38422 from vipulnsward/fix-wrong-spec
Fix wrong spec asserting headers maintain original definition
This commit is contained in:
commit
f3eaddb734
|
@ -222,7 +222,7 @@ class SecureCookiesTest < SSLTest
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_keeps_original_headers_behavior
|
def test_keeps_original_headers_behavior
|
||||||
get headers: { "Connection" => %w[close] }
|
get headers: { "Connection" => "close" }
|
||||||
assert_equal "close", response.headers["Connection"]
|
assert_equal "close", response.headers["Connection"]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue