lib/pact/provider/request.rb in pact-1.42.2 vs lib/pact/provider/request.rb in pact-1.42.3
- old
+ new
@@ -52,10 +52,10 @@
JSON.dump(rb)
end
end
def rack_request_header_for header
- with_http_prefix(header.to_s.upcase).gsub('-', '_')
+ with_http_prefix(header.to_s.upcase).tr('-', '_')
end
def rack_request_value_for value
Array(value).join("\n")
end