Skip to content

Commit f0dc11e

Browse files
authored
Merge pull request alexrudall#173 from alexrudall/reject-except
Swap Ruby 3 `except` for backwards-compatible `reject`
2 parents 90c5f53 + ea8ebcf commit f0dc11e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/support/vcr_multipart_matcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def same_content_type?(request1, request2)
2727
end
2828

2929
def headers_excluding_content_type(request)
30-
request.headers.except("Content-Type")
30+
request.headers.reject { |key, _| key == "Content-Type" }
3131
end
3232

3333
def normalized_multipart_body(request)

0 commit comments

Comments
 (0)