mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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:
parent
8818d4754d
commit
99108ff161
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue