Skip to content

Commit ea8ebcf

Browse files
committed
Swap Ruby 3 except for backwards-compatible reject
1 parent 90c5f53 commit ea8ebcf

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)