Fix wrong spec asserting headers maintain original definition

This was introduced in https://github.com/rails/rails/pull/20559 but was wrongly asserting %w[close] to match close as the header value
This commit is contained in:
Vipul A M 2020-02-10 04:11:19 +05:30
parent 8818d4754d
commit 99108ff161
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