Skip to content

Commit 99108ff

Browse files
committed
Fix wrong spec asserting headers maintain original definition
This was introduced in rails#20559 but was wrongly asserting %w[close] to match close as the header value
1 parent 8818d47 commit 99108ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionpack/test/dispatch/ssl_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def test_no_cookies
222222
end
223223

224224
def test_keeps_original_headers_behavior
225-
get headers: { "Connection" => %w[close] }
225+
get headers: { "Connection" => "close" }
226226
assert_equal "close", response.headers["Connection"]
227227
end
228228
end

0 commit comments

Comments
 (0)